#042F39#042F39

#042F39 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.3% C 0.048 H 217.7°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#042F39
RGBrgb(4, 47, 57)
HSLhsl(191, 87%, 12%)
HSVhsv(191, 93%, 22%)
CMYKcmyk(93%, 17.5%, 0%, 77.6%)
CIE-LABlab(17.25, -9.90, -10.41)
CIE-LCHlch(17.25, 14.37, 226.44°)
OKLaboklab(28.26% -0.0378 -0.0291)
OKLCHoklch(28.26% 0.048 217.7)
XYZxyz(1.8048, 2.3540, 4.2294)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F39 #390E04
analogous
#043929 #042F39 #041539
triadic
#042F39 #39042F #2F3904
tetradic
#042F39 #290439 #390E04 #153904
square
#042F39 #290439 #390E04 #153904
split-complementary
#042F39 #390415 #392904
monochromatic
#02181D #02181D #042F39 #085E72 #0C8DAB

Accessibility & contrast

On white

14.28
#042F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#042F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F39
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F39#FFFFFF#000000##FFFFFF
##042F391.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292D3A
Deuteranopia (green-blind)
#212839
Tritanopia (blue-blind)
#003232
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #042f39;
/* rgb */ color: rgb(4, 47, 57);
/* oklch */ color: oklch(28.3% 0.048 217.7);
Tailwind
colors: {
  custom: {
    50: '#4f676f',
    500: '#042f39',
    950: '#000000',
  },
}
SCSS
$custom: #042f39;
$custom-light: #4f676f;
$custom-dark: #000000;
JSON
{
  "hex": "#042f39",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 57
  },
  "hsl": {
    "h": 191.321,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28261,
    "c": 0.0477,
    "h": 217.7
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#042F39
secondary
#7B2F1E
accent
#522BFD
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #042F39

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

Preview Lab → · Contrast checker → · Palette generator →

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