#042437#042437

#042437 is a very dark, muted cyan. Relative luminance 0.016; OKLCH L 24.8% C 0.051 H 239.5°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#042437
RGBrgb(4, 36, 55)
HSLhsl(202, 86%, 12%)
HSVhsv(202, 93%, 22%)
CMYKcmyk(92.7%, 34.5%, 0%, 78.4%)
CIE-LABlab(13.00, -3.33, -15.60)
CIE-LCHlch(13.00, 15.95, 257.96°)
OKLaboklab(24.83% -0.026 -0.0442)
OKLCHoklch(24.83% 0.051 239.5)
XYZxyz(1.3703, 1.5632, 3.8432)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042437 #371704
analogous
#043731 #042437 #040B37
triadic
#042437 #370424 #243704
tetradic
#042437 #310437 #371704 #0B3704
square
#042437 #310437 #371704 #0B3704
split-complementary
#042437 #37040B #373104
monochromatic
#02131D #02131D #042437 #084970 #0C6FA9

Accessibility & contrast

On white

16.00
#042437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#042437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042437
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042437#FFFFFF#000000##FFFFFF
##0424371.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2438
Deuteranopia (green-blind)
#141F37
Tritanopia (blue-blind)
#00292B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #042437;
/* rgb */ color: rgb(4, 36, 55);
/* oklch */ color: oklch(24.8% 0.051 239.5);
Tailwind
colors: {
  custom: {
    50: '#4d5e6e',
    500: '#042437',
    950: '#000000',
  },
}
SCSS
$custom: #042437;
$custom-light: #4d5e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#042437",
  "rgb": {
    "r": 4,
    "g": 36,
    "b": 55
  },
  "hsl": {
    "h": 202.353,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.24834,
    "c": 0.05129,
    "h": 239.5
  },
  "luminance": 0.01563
}

Semantic roles & 50–950 ramp

primary
#042437
secondary
#79401E
accent
#792BFD
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020407
muted
#78797A

Preview Lab

Preview with #042437

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

Preview Lab → · Contrast checker → · Palette generator →

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