#2F3545#2F3545

#2F3545 is a dark, muted blue. Relative luminance 0.036; OKLCH L 33.0% C 0.030 H 268.7°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#2F3545
RGBrgb(47, 53, 69)
HSLhsl(224, 19%, 23%)
HSVhsv(224, 32%, 27%)
CMYKcmyk(31.9%, 23.2%, 0%, 72.9%)
CIE-LABlab(22.23, 1.86, -10.76)
CIE-LCHlch(22.23, 10.92, 279.81°)
OKLaboklab(33.02% -0.0007 -0.0296)
OKLCHoklch(33.02% 0.03 268.7)
XYZxyz(3.5193, 3.5801, 6.1347)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3545 #453F2F
analogous
#2F4045 #2F3545 #342F45
triadic
#2F3545 #452F35 #35452F
tetradic
#2F3545 #452F40 #453F2F #2F4534
square
#2F3545 #452F40 #453F2F #2F4534
split-complementary
#2F3545 #45342F #40452F
monochromatic
#0C0E12 #161921 #2F3545 #485169 #616D8E

Accessibility & contrast

On white

12.24
#2F3545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2F3545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3545
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3545#FFFFFF#000000##FFFFFF
##2F35451.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303646
Deuteranopia (green-blind)
#2E3445
Tritanopia (blue-blind)
#29383A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f3545;
/* rgb */ color: rgb(47, 53, 69);
/* oklch */ color: oklch(33.0% 0.030 268.7);
Tailwind
colors: {
  custom: {
    50: '#686c78',
    500: '#2f3545',
    950: '#000000',
  },
}
SCSS
$custom: #2f3545;
$custom-light: #686c78;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3545",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 69
  },
  "hsl": {
    "h": 223.636,
    "s": 18.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33021,
    "c": 0.0296,
    "h": 268.7
  },
  "luminance": 0.0358
}

Semantic roles & 50–950 ramp

primary
#2F3545
secondary
#766E5A
accent
#A66CBC
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #2F3545

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

Preview Lab → · Contrast checker → · Palette generator →

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