#2F3350 CSS Color Code

#2F3350

Color Values & Formats

Using is just one of many ways to represent this color in CSS. Below are the various color codes you can use:

HEX
#2f3350
HEX Upper
#2F3350
RGB
rgb(47, 51, 80)
RGBA
rgba(47, 51, 80, 1)
HSL
hsl(233, 26%, 25%)
HSLA
hsla(233, 26%, 25%, 1)
HWB
hwb(233 18% 69%)
CIELAB
lab(22.13 6.68 -18.28)
CIELCH
lch(22.13 19.47 290.07)
OKLab
oklab(0.331 0.006 -0.051)
OKLCH
oklch(0.331 0.052 277.19)

UI Component Preview

See how this color behaves when used as text, background, or outline borders in a user interface.

On White Background

Legibility Test

Five crazy hex codes quickly mixed bright aqua text for web layout pages.

On Dark Background

Legibility Test

Five crazy hex codes quickly mixed bright aqua text for web layout pages.

Interactive Buttons
Border & Stroke
Border Example

Tints

Lighter variations generated by blending the color with white (#ffffff).

Shades

Darker variations generated by blending the color with black (#000000).

Complementary Color

The color directly opposite on the HSL color wheel (shifted 180°).