#042E39#042E39

#042E39 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.0% C 0.048 H 220.1°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#042E39
RGBrgb(4, 46, 57)
HSLhsl(192, 87%, 12%)
HSVhsv(192, 93%, 22%)
CMYKcmyk(93%, 19.3%, 0%, 77.6%)
CIE-LABlab(16.87, -9.26, -10.99)
CIE-LCHlch(16.87, 14.38, 229.88°)
OKLaboklab(27.96% -0.0366 -0.0308)
OKLCHoklch(27.96% 0.048 220.1)
XYZxyz(1.7653, 2.2750, 4.2162)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E39 #390F04
analogous
#04392A #042E39 #041439
triadic
#042E39 #39042E #2E3904
tetradic
#042E39 #2A0439 #390F04 #143904
square
#042E39 #2A0439 #390F04 #143904
split-complementary
#042E39 #390414 #392A04
monochromatic
#02171D #02171D #042E39 #085C72 #0C8AAB

Accessibility & contrast

On white

14.43
#042E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#042E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042E39
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042E39#FFFFFF#000000##FFFFFF
##042E391.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272C3A
Deuteranopia (green-blind)
#202739
Tritanopia (blue-blind)
#003232
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #042e39;
/* rgb */ color: rgb(4, 46, 57);
/* oklch */ color: oklch(28.0% 0.048 220.1);
Tailwind
colors: {
  custom: {
    50: '#4f666f',
    500: '#042e39',
    950: '#000000',
  },
}
SCSS
$custom: #042e39;
$custom-light: #4f666f;
$custom-dark: #000000;
JSON
{
  "hex": "#042e39",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 57
  },
  "hsl": {
    "h": 192.453,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.27958,
    "c": 0.04784,
    "h": 220.1
  },
  "luminance": 0.02275
}

Semantic roles & 50–950 ramp

primary
#042E39
secondary
#7B311E
accent
#562BFD
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #042E39

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

Preview Lab → · Contrast checker → · Palette generator →

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