#042036#042036

#042036 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.6% C 0.054 H 246.0°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#042036
RGBrgb(4, 32, 54)
HSLhsl(206, 86%, 11%)
HSVhsv(206, 93%, 21%)
CMYKcmyk(92.6%, 40.7%, 0%, 78.8%)
CIE-LABlab(11.45, -0.86, -17.34)
CIE-LCHlch(11.45, 17.36, 267.17°)
OKLaboklab(23.58% -0.022 -0.0493)
OKLCHoklch(23.58% 0.054 246)
XYZxyz(1.2322, 1.3250, 3.6801)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042036 #361A04
analogous
#043633 #042036 #040736
triadic
#042036 #360420 #203604
tetradic
#042036 #330436 #361A04 #073604
square
#042036 #330436 #361A04 #073604
split-complementary
#042036 #360407 #363304
monochromatic
#02111C #02111C #042036 #08426F #0C64A8

Accessibility & contrast

On white

16.60
#042036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#042036 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042036
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042036#FFFFFF#000000##FFFFFF
##0420361.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162137
Deuteranopia (green-blind)
#0E1C36
Tritanopia (blue-blind)
#002528
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #042036;
/* rgb */ color: rgb(4, 32, 54);
/* oklch */ color: oklch(23.6% 0.054 246.0);
Tailwind
colors: {
  custom: {
    50: '#4d5b6d',
    500: '#042036',
    950: '#000000',
  },
}
SCSS
$custom: #042036;
$custom-light: #4d5b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#042036",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 54
  },
  "hsl": {
    "h": 206.4,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.23584,
    "c": 0.05402,
    "h": 246
  },
  "luminance": 0.01325
}

Semantic roles & 50–950 ramp

primary
#042036
secondary
#78451E
accent
#872BFC
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020407
muted
#78797A

Preview Lab

Preview with #042036

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

Preview Lab → · Contrast checker → · Palette generator →

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