#042137#042137

#042137 is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 23.9% C 0.054 H 245.3°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#042137
RGBrgb(4, 33, 55)
HSLhsl(206, 86%, 12%)
HSVhsv(206, 93%, 22%)
CMYKcmyk(92.7%, 40%, 0%, 78.4%)
CIE-LABlab(11.89, -1.14, -17.36)
CIE-LCHlch(11.89, 17.40, 266.25°)
OKLaboklab(23.95% -0.0227 -0.0494)
OKLCHoklch(23.95% 0.054 245.3)
XYZxyz(1.2832, 1.3892, 3.8142)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042137 #371A04
analogous
#043734 #042137 #040837
triadic
#042137 #370421 #213704
tetradic
#042137 #340437 #371A04 #083704
square
#042137 #340437 #371A04 #083704
split-complementary
#042137 #370408 #373404
monochromatic
#02111D #02111D #042137 #084370 #0C65A9

Accessibility & contrast

On white

16.43
#042137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#042137 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042137
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042137#FFFFFF#000000##FFFFFF
##0421371.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172238
Deuteranopia (green-blind)
#0F1D37
Tritanopia (blue-blind)
#002629
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #042137;
/* rgb */ color: rgb(4, 33, 55);
/* oklch */ color: oklch(23.9% 0.054 245.3);
Tailwind
colors: {
  custom: {
    50: '#4d5b6e',
    500: '#042137',
    950: '#000000',
  },
}
SCSS
$custom: #042137;
$custom-light: #4d5b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#042137",
  "rgb": {
    "r": 4,
    "g": 33,
    "b": 55
  },
  "hsl": {
    "h": 205.882,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23949,
    "c": 0.05437,
    "h": 245.3
  },
  "luminance": 0.01389
}

Semantic roles & 50–950 ramp

primary
#042137
secondary
#79451E
accent
#862BFD
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020407
muted
#78797A

Preview Lab

Preview with #042137

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

Preview Lab → · Contrast checker → · Palette generator →

#042137 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva