#042939#042939

#042939 is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.5% C 0.050 H 231.8°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#042939
RGBrgb(4, 41, 57)
HSLhsl(198, 87%, 12%)
HSVhsv(198, 93%, 22%)
CMYKcmyk(93%, 28.1%, 0%, 77.6%)
CIE-LABlab(14.99, -5.94, -13.90)
CIE-LCHlch(14.99, 15.12, 246.86°)
OKLaboklab(26.45% -0.0308 -0.0392)
OKLCHoklch(26.45% 0.05 231.8)
XYZxyz(1.5812, 1.9069, 4.1548)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042939 #391404
analogous
#04392F #042939 #040F39
triadic
#042939 #390429 #293904
tetradic
#042939 #2F0439 #391404 #0F3904
square
#042939 #2F0439 #391404 #0F3904
split-complementary
#042939 #39040F #392F04
monochromatic
#02151D #02151D #042939 #085272 #0C7BAB

Accessibility & contrast

On white

15.20
#042939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#042939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042939
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042939#FFFFFF#000000##FFFFFF
##0429391.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21283A
Deuteranopia (green-blind)
#1A2339
Tritanopia (blue-blind)
#002D2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #042939;
/* rgb */ color: rgb(4, 41, 57);
/* oklch */ color: oklch(26.5% 0.050 231.8);
Tailwind
colors: {
  custom: {
    50: '#4e626f',
    500: '#042939',
    950: '#000000',
  },
}
SCSS
$custom: #042939;
$custom-light: #4e626f;
$custom-dark: #000000;
JSON
{
  "hex": "#042939",
  "rgb": {
    "r": 4,
    "g": 41,
    "b": 57
  },
  "hsl": {
    "h": 198.113,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.26452,
    "c": 0.04988,
    "h": 231.8
  },
  "luminance": 0.01907
}

Semantic roles & 50–950 ramp

primary
#042939
secondary
#7B3A1E
accent
#6A2BFD
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A

Preview Lab

Preview with #042939

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

Preview Lab → · Contrast checker → · Palette generator →

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