#042039#042039

#042039 is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 23.8% C 0.059 H 249.0°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#042039
RGBrgb(4, 32, 57)
HSLhsl(208, 87%, 12%)
HSVhsv(208, 93%, 22%)
CMYKcmyk(93%, 43.9%, 0%, 77.6%)
CIE-LABlab(11.65, 0.55, -19.16)
CIE-LCHlch(11.65, 19.17, 271.63°)
OKLaboklab(23.81% -0.021 -0.0547)
OKLCHoklch(23.81% 0.059 249)
XYZxyz(1.3048, 1.3541, 4.0627)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042039 #391D04
analogous
#043938 #042039 #040639
triadic
#042039 #390420 #203904
tetradic
#042039 #380439 #391D04 #063904
square
#042039 #380439 #391D04 #063904
split-complementary
#042039 #390406 #393804
monochromatic
#02101D #02101D #042039 #084072 #0C60AB

Accessibility & contrast

On white

16.53
#042039 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#042039 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042039
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042039#FFFFFF#000000##FFFFFF
##0420391.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14213A
Deuteranopia (green-blind)
#0C1D39
Tritanopia (blue-blind)
#002629
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #042039;
/* rgb */ color: rgb(4, 32, 57);
/* oklch */ color: oklch(23.8% 0.059 249.0);
Tailwind
colors: {
  custom: {
    50: '#4e5b6f',
    500: '#042039',
    950: '#000000',
  },
}
SCSS
$custom: #042039;
$custom-light: #4e5b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#042039",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 57
  },
  "hsl": {
    "h": 208.302,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23805,
    "c": 0.05857,
    "h": 249
  },
  "luminance": 0.01354
}

Semantic roles & 50–950 ramp

primary
#042039
secondary
#7B4A1E
accent
#8E2BFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #042039

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

Preview Lab → · Contrast checker → · Palette generator →

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