#042C31#042C31

#042C31 is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.9% C 0.043 H 207.4°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#042C31
RGBrgb(4, 44, 49)
HSLhsl(187, 85%, 10%)
HSVhsv(187, 92%, 19%)
CMYKcmyk(91.8%, 10.2%, 0%, 80.8%)
CIE-LABlab(15.74, -11.26, -7.13)
CIE-LCHlch(15.74, 13.33, 212.35°)
OKLaboklab(26.93% -0.0383 -0.0198)
OKLCHoklch(26.93% 0.043 207.4)
XYZxyz(1.5049, 2.0487, 3.2213)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C31 #310904
analogous
#04311F #042C31 #041531
triadic
#042C31 #31042C #2C3104
tetradic
#042C31 #1F0431 #310904 #153104
square
#042C31 #1F0431 #310904 #153104
split-complementary
#042C31 #310415 #311F04
monochromatic
#02191C #02191C #042C31 #095F6A #0D92A2

Accessibility & contrast

On white

14.90
#042C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#042C31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042C31
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C31#FFFFFF#000000##FFFFFF
##042C311.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A31
Deuteranopia (green-blind)
#212531
Tritanopia (blue-blind)
#002F2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042c31;
/* rgb */ color: rgb(4, 44, 49);
/* oklch */ color: oklch(26.9% 0.043 207.4);
Tailwind
colors: {
  custom: {
    50: '#4d6569',
    500: '#042c31',
    950: '#000000',
  },
}
SCSS
$custom: #042c31;
$custom-light: #4d6569;
$custom-dark: #000000;
JSON
{
  "hex": "#042c31",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 49
  },
  "hsl": {
    "h": 186.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.26927,
    "c": 0.04312,
    "h": 207.4
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#042C31
secondary
#73271D
accent
#442DFB
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020506
muted
#787A7A

Preview Lab

Preview with #042C31

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

Preview Lab → · Contrast checker → · Palette generator →

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