#042C39#042C39

#042C39 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.4% C 0.048 H 224.9°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#042C39
RGBrgb(4, 44, 57)
HSLhsl(195, 87%, 12%)
HSVhsv(195, 93%, 22%)
CMYKcmyk(93%, 22.8%, 0%, 77.6%)
CIE-LABlab(16.12, -7.96, -12.15)
CIE-LCHlch(16.12, 14.53, 236.78°)
OKLaboklab(27.35% -0.0343 -0.0341)
OKLCHoklch(27.35% 0.048 224.9)
XYZxyz(1.6890, 2.1224, 4.1907)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C39 #391104
analogous
#04392C #042C39 #041239
triadic
#042C39 #39042C #2C3904
tetradic
#042C39 #2C0439 #391104 #123904
square
#042C39 #2C0439 #391104 #123904
split-complementary
#042C39 #390412 #392C04
monochromatic
#02161D #02161D #042C39 #085872 #0C84AB

Accessibility & contrast

On white

14.74
#042C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#042C39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042C39
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C39#FFFFFF#000000##FFFFFF
##042C391.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B3A
Deuteranopia (green-blind)
#1E2639
Tritanopia (blue-blind)
#003030
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #042c39;
/* rgb */ color: rgb(4, 44, 57);
/* oklch */ color: oklch(27.4% 0.048 224.9);
Tailwind
colors: {
  custom: {
    50: '#4f656f',
    500: '#042c39',
    950: '#000000',
  },
}
SCSS
$custom: #042c39;
$custom-light: #4f656f;
$custom-dark: #000000;
JSON
{
  "hex": "#042c39",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 57
  },
  "hsl": {
    "h": 194.717,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.27354,
    "c": 0.04838,
    "h": 224.9
  },
  "luminance": 0.02123
}

Semantic roles & 50–950 ramp

primary
#042C39
secondary
#7B351E
accent
#5E2BFD
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020507
muted
#787A7A

Preview Lab

Preview with #042C39

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

Preview Lab → · Contrast checker → · Palette generator →

#042C39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva