#2F4E52#2F4E52

#2F4E52 is a dark, muted teal. Relative luminance 0.067; OKLCH L 40.1% C 0.037 H 206.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2F4E52
RGBrgb(47, 78, 82)
HSLhsl(187, 27%, 25%)
HSVhsv(187, 43%, 32%)
CMYKcmyk(42.7%, 4.9%, 0%, 67.8%)
CIE-LABlab(31.02, -10.25, -5.98)
CIE-LCHlch(31.02, 11.87, 210.28°)
OKLaboklab(40.15% -0.0334 -0.0164)
OKLCHoklch(40.15% 0.037 206.2)
XYZxyz(5.4191, 6.6619, 8.9813)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E52 #52332F
analogous
#2F5244 #2F4E52 #2F3C52
triadic
#2F4E52 #522F4E #4E522F
tetradic
#2F4E52 #442F52 #52332F #3C522F
square
#2F4E52 #442F52 #52332F #3C522F
split-complementary
#2F4E52 #522F3C #52442F
monochromatic
#0B1313 #19292B #2F4E52 #457379 #5C98A0

Accessibility & contrast

On white

9.00
#2F4E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2F4E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E52
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E52#FFFFFF#000000##FFFFFF
##2F4E521.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494C52
Deuteranopia (green-blind)
#434752
Tritanopia (blue-blind)
#20504F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f4e52;
/* rgb */ color: rgb(47, 78, 82);
/* oklch */ color: oklch(40.1% 0.037 206.2);
Tailwind
colors: {
  custom: {
    50: '#6a7f82',
    500: '#2f4e52',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e52;
$custom-light: #6a7f82;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e52",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 82
  },
  "hsl": {
    "h": 186.857,
    "s": 27.132,
    "l": 25.294
  },
  "oklch": {
    "l": 0.40146,
    "c": 0.03725,
    "h": 206.2
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#2F4E52
secondary
#835E59
accent
#6F64C3
background
#F6F7F7
surface
#EBEEEE
border
#C6C9C9
text
#060A0A
muted
#7A7C7C

Preview Lab

Preview with #2F4E52

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

Preview Lab → · Contrast checker → · Palette generator →

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