#042B31#042B31

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

Color values

HEX#042B31
RGBrgb(4, 43, 49)
HSLhsl(188, 85%, 10%)
HSVhsv(188, 92%, 19%)
CMYKcmyk(91.8%, 12.2%, 0%, 80.8%)
CIE-LABlab(15.36, -10.63, -7.72)
CIE-LCHlch(15.36, 13.14, 215.96°)
OKLaboklab(26.62% -0.0371 -0.0215)
OKLCHoklch(26.62% 0.043 210.1)
XYZxyz(1.4681, 1.9751, 3.2090)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B31 #310A04
analogous
#043120 #042B31 #041431
triadic
#042B31 #31042B #2B3104
tetradic
#042B31 #200431 #310A04 #143104
square
#042B31 #200431 #310A04 #143104
split-complementary
#042B31 #310414 #312004
monochromatic
#02191C #02191C #042B31 #095D6A #0D8EA2

Accessibility & contrast

On white

15.05
#042B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#042B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042B31
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B31#FFFFFF#000000##FFFFFF
##042B311.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262931
Deuteranopia (green-blind)
#202431
Tritanopia (blue-blind)
#002E2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #042b31;
/* rgb */ color: rgb(4, 43, 49);
/* oklch */ color: oklch(26.6% 0.043 210.1);
Tailwind
colors: {
  custom: {
    50: '#4d6469',
    500: '#042b31',
    950: '#000000',
  },
}
SCSS
$custom: #042b31;
$custom-light: #4d6469;
$custom-dark: #000000;
JSON
{
  "hex": "#042b31",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 49
  },
  "hsl": {
    "h": 188,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.26616,
    "c": 0.04285,
    "h": 210.1
  },
  "luminance": 0.01975
}

Semantic roles & 50–950 ramp

primary
#042B31
secondary
#73291D
accent
#482DFB
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020506
muted
#787A7A

Preview Lab

Preview with #042B31

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

Preview Lab → · Contrast checker → · Palette generator →

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