#042439#042439

#042439 is a very dark, muted cyan. Relative luminance 0.016; OKLCH L 25.0% C 0.054 H 242.1°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#042439
RGBrgb(4, 36, 57)
HSLhsl(204, 87%, 12%)
HSVhsv(204, 93%, 22%)
CMYKcmyk(93%, 36.8%, 0%, 77.6%)
CIE-LABlab(13.13, -2.42, -16.82)
CIE-LCHlch(13.13, 17.00, 261.83°)
OKLaboklab(24.97% -0.0253 -0.0478)
OKLCHoklch(24.97% 0.054 242.1)
XYZxyz(1.4192, 1.5828, 4.1008)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042439 #391904
analogous
#043934 #042439 #040939
triadic
#042439 #390424 #243904
tetradic
#042439 #340439 #391904 #093904
square
#042439 #340439 #391904 #093904
split-complementary
#042439 #390409 #393404
monochromatic
#02121D #02121D #042439 #084872 #0C6CAB

Accessibility & contrast

On white

15.95
#042439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#042439 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042439
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042439#FFFFFF#000000##FFFFFF
##0424391.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A253A
Deuteranopia (green-blind)
#132039
Tritanopia (blue-blind)
#00292B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #042439;
/* rgb */ color: rgb(4, 36, 57);
/* oklch */ color: oklch(25.0% 0.054 242.1);
Tailwind
colors: {
  custom: {
    50: '#4e5e6f',
    500: '#042439',
    950: '#000000',
  },
}
SCSS
$custom: #042439;
$custom-light: #4e5e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#042439",
  "rgb": {
    "r": 4,
    "g": 36,
    "b": 57
  },
  "hsl": {
    "h": 203.774,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24969,
    "c": 0.05403,
    "h": 242.1
  },
  "luminance": 0.01583
}

Semantic roles & 50–950 ramp

primary
#042439
secondary
#7B431E
accent
#7E2BFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #042439

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

Preview Lab → · Contrast checker → · Palette generator →

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