#2F423F#2F423F

#2F423F is a dark, muted teal. Relative luminance 0.049; OKLCH L 36.2% C 0.025 H 184.2°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2F423F
RGBrgb(47, 66, 63)
HSLhsl(171, 17%, 22%)
HSVhsv(171, 29%, 26%)
CMYKcmyk(28.8%, 0%, 4.5%, 74.1%)
CIE-LABlab(26.33, -8.29, -0.62)
CIE-LCHlch(26.33, 8.31, 184.30°)
OKLaboklab(36.18% -0.0246 -0.0018)
OKLCHoklch(36.18% 0.025 184.2)
XYZxyz(4.0174, 4.8595, 5.4280)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F423F #422F32
analogous
#2F4236 #2F423F #2F3C42
triadic
#2F423F #3F2F42 #423F2F
tetradic
#2F423F #362F42 #422F32 #3C422F
square
#2F423F #362F42 #422F32 #3C422F
split-complementary
#2F423F #422F3C #42362F
monochromatic
#0D1211 #161E1D #2F423F #486661 #628983

Accessibility & contrast

On white

10.65
#2F423F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2F423F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F423F
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F423F#FFFFFF#000000##FFFFFF
##2F423F1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40403F
Deuteranopia (green-blind)
#3D3D3F
Tritanopia (blue-blind)
#294341
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f423f;
/* rgb */ color: rgb(47, 66, 63);
/* oklch */ color: oklch(36.2% 0.025 184.2);
Tailwind
colors: {
  custom: {
    50: '#687674',
    500: '#2f423f',
    950: '#000000',
  },
}
SCSS
$custom: #2f423f;
$custom-light: #687674;
$custom-dark: #000000;
JSON
{
  "hex": "#2f423f",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 63
  },
  "hsl": {
    "h": 170.526,
    "s": 16.814,
    "l": 22.157
  },
  "oklch": {
    "l": 0.36183,
    "c": 0.02471,
    "h": 184.2
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#2F423F
secondary
#725A5E
accent
#6E7ABA
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#060808
muted
#7A7B7B

Preview Lab

Preview with #2F423F

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

Preview Lab → · Contrast checker → · Palette generator →

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