#042037#042037

#042037 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.7% C 0.056 H 247.1°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#042037
RGBrgb(4, 32, 55)
HSLhsl(207, 86%, 12%)
HSVhsv(207, 93%, 22%)
CMYKcmyk(92.7%, 41.8%, 0%, 78.4%)
CIE-LABlab(11.51, -0.39, -17.95)
CIE-LCHlch(11.51, 17.95, 268.75°)
OKLaboklab(23.66% -0.0216 -0.0511)
OKLCHoklch(23.66% 0.056 247.1)
XYZxyz(1.2559, 1.3345, 3.8051)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042037 #371B04
analogous
#043735 #042037 #040637
triadic
#042037 #370420 #203704
tetradic
#042037 #350437 #371B04 #063704
square
#042037 #350437 #371B04 #063704
split-complementary
#042037 #370406 #373504
monochromatic
#02111D #02111D #042037 #084170 #0C62A9

Accessibility & contrast

On white

16.57
#042037 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042037
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042037#FFFFFF#000000##FFFFFF
##0420371.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152138
Deuteranopia (green-blind)
#0D1C37
Tritanopia (blue-blind)
#002628
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #042037;
/* rgb */ color: rgb(4, 32, 55);
/* oklch */ color: oklch(23.7% 0.056 247.1);
Tailwind
colors: {
  custom: {
    50: '#4d5b6e',
    500: '#042037',
    950: '#000000',
  },
}
SCSS
$custom: #042037;
$custom-light: #4d5b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#042037",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 55
  },
  "hsl": {
    "h": 207.059,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23656,
    "c": 0.05551,
    "h": 247.1
  },
  "luminance": 0.01335
}

Semantic roles & 50–950 ramp

primary
#042037
secondary
#79471E
accent
#8A2BFD
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020407
muted
#78797A

Preview Lab

Preview with #042037

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

Preview Lab → · Contrast checker → · Palette generator →

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