#2F514B#2F514B

#2F514B is a dark, muted teal. Relative luminance 0.070; OKLCH L 40.7% C 0.041 H 181.7°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2F514B
RGBrgb(47, 81, 75)
HSLhsl(169, 27%, 25%)
HSVhsv(169, 42%, 32%)
CMYKcmyk(42%, 0%, 7.4%, 68.2%)
CIE-LABlab(31.80, -14.01, -0.37)
CIE-LCHlch(31.80, 14.01, 181.52°)
OKLaboklab(40.69% -0.0411 -0.0012)
OKLCHoklch(40.69% 0.041 181.7)
XYZxyz(5.3842, 6.9968, 7.7221)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F514B #512F35
analogous
#2F513A #2F514B #2F4651
triadic
#2F514B #4B2F51 #514B2F
tetradic
#2F514B #3A2F51 #512F35 #46512F
square
#2F514B #3A2F51 #512F35 #46512F
split-complementary
#2F514B #512F46 #513A2F
monochromatic
#0B1312 #192A27 #2F514B #45786F #5C9E93

Accessibility & contrast

On white

8.75
#2F514B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2F514B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F514B
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F514B#FFFFFF#000000##FFFFFF
##2F514B1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4D4B
Deuteranopia (green-blind)
#48494C
Tritanopia (blue-blind)
#23524F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f514b;
/* rgb */ color: rgb(47, 81, 75);
/* oklch */ color: oklch(40.7% 0.041 181.7);
Tailwind
colors: {
  custom: {
    50: '#69827d',
    500: '#2f514b',
    950: '#000000',
  },
}
SCSS
$custom: #2f514b;
$custom-light: #69827d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f514b",
  "rgb": {
    "r": 47,
    "g": 81,
    "b": 75
  },
  "hsl": {
    "h": 169.412,
    "s": 26.562,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4069,
    "c": 0.04117,
    "h": 181.7
  },
  "luminance": 0.06997
}

Semantic roles & 50–950 ramp

primary
#2F514B
secondary
#825961
accent
#6575C3
background
#F6F7F7
surface
#EBEEEE
border
#C6C9C9
text
#060A09
muted
#7A7C7B

Preview Lab

Preview with #2F514B

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

Preview Lab → · Contrast checker → · Palette generator →

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