#2F4151#2F4151

#2F4151 is a dark, muted cyan. Relative luminance 0.050; OKLCH L 36.7% C 0.036 H 245.8°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#2F4151
RGBrgb(47, 65, 81)
HSLhsl(208, 27%, 25%)
HSVhsv(208, 42%, 32%)
CMYKcmyk(42%, 19.8%, 0%, 68.2%)
CIE-LABlab(26.67, -2.43, -11.92)
CIE-LCHlch(26.67, 12.16, 258.48°)
OKLaboklab(36.68% -0.0148 -0.0329)
OKLCHoklch(36.68% 0.036 245.8)
XYZxyz(4.5473, 4.9788, 8.5044)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4151 #513F2F
analogous
#2F5150 #2F4151 #2F3051
triadic
#2F4151 #512F41 #41512F
tetradic
#2F4151 #502F51 #513F2F #30512F
square
#2F4151 #502F51 #513F2F #30512F
split-complementary
#2F4151 #512F30 #51502F
monochromatic
#0B1013 #19222A #2F4151 #456078 #5C7F9E

Accessibility & contrast

On white

10.52
#2F4151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2F4151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4151
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4151#FFFFFF#000000##FFFFFF
##2F41511.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4152
Deuteranopia (green-blind)
#363D51
Tritanopia (blue-blind)
#234546
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f4151;
/* rgb */ color: rgb(47, 65, 81);
/* oklch */ color: oklch(36.7% 0.036 245.8);
Tailwind
colors: {
  custom: {
    50: '#697581',
    500: '#2f4151',
    950: '#000000',
  },
}
SCSS
$custom: #2f4151;
$custom-light: #697581;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4151",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 81
  },
  "hsl": {
    "h": 208.235,
    "s": 26.562,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3668,
    "c": 0.03608,
    "h": 245.8
  },
  "luminance": 0.04979
}

Semantic roles & 50–950 ramp

primary
#2F4151
secondary
#826D59
accent
#9165C3
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#06080A
muted
#7A7B7C

Preview Lab

Preview with #2F4151

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

Preview Lab → · Contrast checker → · Palette generator →

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