#042636#042636

#042636 is a dark, muted cyan. Relative luminance 0.017; OKLCH L 25.4% C 0.048 H 233.6°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#042636
RGBrgb(4, 38, 54)
HSLhsl(199, 86%, 11%)
HSVhsv(199, 93%, 21%)
CMYKcmyk(92.6%, 29.6%, 0%, 78.8%)
CIE-LABlab(13.70, -5.19, -13.80)
CIE-LCHlch(13.70, 14.75, 249.39°)
OKLaboklab(25.37% -0.0287 -0.0389)
OKLCHoklch(25.37% 0.048 233.6)
XYZxyz(1.4088, 1.6782, 3.7390)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042636 #361404
analogous
#04362D #042636 #040D36
triadic
#042636 #360426 #263604
tetradic
#042636 #2D0436 #361404 #0D3604
square
#042636 #2D0436 #361404 #0D3604
split-complementary
#042636 #36040D #362D04
monochromatic
#02141C #02141C #042636 #084E6F #0C76A8

Accessibility & contrast

On white

15.72
#042636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#042636 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042636
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042636#FFFFFF#000000##FFFFFF
##0426361.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2637
Deuteranopia (green-blind)
#172136
Tritanopia (blue-blind)
#002A2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #042636;
/* rgb */ color: rgb(4, 38, 54);
/* oklch */ color: oklch(25.4% 0.048 233.6);
Tailwind
colors: {
  custom: {
    50: '#4d606d',
    500: '#042636',
    950: '#000000',
  },
}
SCSS
$custom: #042636;
$custom-light: #4d606d;
$custom-dark: #000000;
JSON
{
  "hex": "#042636",
  "rgb": {
    "r": 4,
    "g": 38,
    "b": 54
  },
  "hsl": {
    "h": 199.2,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.25367,
    "c": 0.04839,
    "h": 233.6
  },
  "luminance": 0.01678
}

Semantic roles & 50–950 ramp

primary
#042636
secondary
#783B1E
accent
#6E2BFC
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020407
muted
#78797A

Preview Lab

Preview with #042636

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

Preview Lab → · Contrast checker → · Palette generator →

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