#2F3239#2F3239

#2F3239 is a dark, near-neutral blue. Relative luminance 0.032; OKLCH L 31.7% C 0.013 H 267.1°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#2F3239
RGBrgb(47, 50, 57)
HSLhsl(222, 10%, 20%)
HSVhsv(222, 18%, 22%)
CMYKcmyk(17.5%, 12.3%, 0%, 77.6%)
CIE-LABlab(20.75, 0.48, -4.86)
CIE-LCHlch(20.75, 4.89, 275.70°)
OKLaboklab(31.7% -0.0007 -0.0131)
OKLCHoklch(31.7% 0.013 267.1)
XYZxyz(3.0512, 3.1809, 4.3233)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3239 #39362F
analogous
#2F3739 #2F3239 #312F39
triadic
#2F3239 #392F32 #32392F
tetradic
#2F3239 #392F37 #39362F #2F3931
square
#2F3239 #392F37 #39362F #2F3931
split-complementary
#2F3239 #39312F #37392F
monochromatic
#0E0F11 #131517 #2F3239 #4B4F5B #666D7C

Accessibility & contrast

On white

12.83
#2F3239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2F3239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3239
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3239#FFFFFF#000000##FFFFFF
##2F32391.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303239
Deuteranopia (green-blind)
#2F3239
Tritanopia (blue-blind)
#2D3334
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2f3239;
/* rgb */ color: rgb(47, 50, 57);
/* oklch */ color: oklch(31.7% 0.013 267.1);
Tailwind
colors: {
  custom: {
    50: '#67696f',
    500: '#2f3239',
    950: '#000000',
  },
}
SCSS
$custom: #2f3239;
$custom-light: #67696f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3239",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 57
  },
  "hsl": {
    "h": 222,
    "s": 9.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.317,
    "c": 0.01317,
    "h": 267.1
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#2F3239
secondary
#68655B
accent
#A075B3
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060607
muted
#7A7A7A

Preview Lab

Preview with #2F3239

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2F3239 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva