#042337#042337

#042337 is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.5% C 0.052 H 241.5°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#042337
RGBrgb(4, 35, 55)
HSLhsl(204, 86%, 12%)
HSVhsv(204, 93%, 22%)
CMYKcmyk(92.7%, 36.4%, 0%, 78.4%)
CIE-LABlab(12.63, -2.61, -16.19)
CIE-LCHlch(12.63, 16.40, 260.85°)
OKLaboklab(24.54% -0.0249 -0.0459)
OKLCHoklch(24.54% 0.052 241.5)
XYZxyz(1.3404, 1.5035, 3.8333)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042337 #371804
analogous
#043732 #042337 #040A37
triadic
#042337 #370423 #233704
tetradic
#042337 #320437 #371804 #0A3704
square
#042337 #320437 #371804 #0A3704
split-complementary
#042337 #37040A #373204
monochromatic
#02121D #02121D #042337 #084770 #0C6CA9

Accessibility & contrast

On white

16.14
#042337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#042337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042337
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042337#FFFFFF#000000##FFFFFF
##0423371.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2338
Deuteranopia (green-blind)
#121F37
Tritanopia (blue-blind)
#00282A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #042337;
/* rgb */ color: rgb(4, 35, 55);
/* oklch */ color: oklch(24.5% 0.052 241.5);
Tailwind
colors: {
  custom: {
    50: '#4d5d6e',
    500: '#042337',
    950: '#000000',
  },
}
SCSS
$custom: #042337;
$custom-light: #4d5d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#042337",
  "rgb": {
    "r": 4,
    "g": 35,
    "b": 55
  },
  "hsl": {
    "h": 203.529,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.24537,
    "c": 0.05224,
    "h": 241.5
  },
  "luminance": 0.01504
}

Semantic roles & 50–950 ramp

primary
#042337
secondary
#79421E
accent
#7D2BFD
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020407
muted
#78797A

Preview Lab

Preview with #042337

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

Preview Lab → · Contrast checker → · Palette generator →

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