#042F37#042F37

#042F37 is a dark, muted teal. Relative luminance 0.023; OKLCH L 28.2% C 0.046 H 213.4°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#042F37
RGBrgb(4, 47, 55)
HSLhsl(189, 86%, 12%)
HSVhsv(189, 93%, 22%)
CMYKcmyk(92.7%, 14.5%, 0%, 78.4%)
CIE-LABlab(17.15, -10.72, -9.17)
CIE-LCHlch(17.15, 14.11, 220.53°)
OKLaboklab(28.16% -0.0388 -0.0256)
OKLCHoklch(28.16% 0.046 213.4)
XYZxyz(1.7559, 2.3345, 3.9717)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F37 #370C04
analogous
#043726 #042F37 #041637
triadic
#042F37 #37042F #2F3704
tetradic
#042F37 #260437 #370C04 #163704
square
#042F37 #260437 #370C04 #163704
split-complementary
#042F37 #370416 #372604
monochromatic
#02181D #02181D #042F37 #086070 #0C91A9

Accessibility & contrast

On white

14.31
#042F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#042F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F37
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F37#FFFFFF#000000##FFFFFF
##042F371.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292D37
Deuteranopia (green-blind)
#222837
Tritanopia (blue-blind)
#003231
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #042f37;
/* rgb */ color: rgb(4, 47, 55);
/* oklch */ color: oklch(28.2% 0.046 213.4);
Tailwind
colors: {
  custom: {
    50: '#4f676d',
    500: '#042f37',
    950: '#000000',
  },
}
SCSS
$custom: #042f37;
$custom-light: #4f676d;
$custom-dark: #000000;
JSON
{
  "hex": "#042f37",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 55
  },
  "hsl": {
    "h": 189.412,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28156,
    "c": 0.04646,
    "h": 213.4
  },
  "luminance": 0.02335
}

Semantic roles & 50–950 ramp

primary
#042F37
secondary
#792C1E
accent
#4C2BFD
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020607
muted
#787A7A

Preview Lab

Preview with #042F37

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

Preview Lab → · Contrast checker → · Palette generator →

#042F37 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva