#042739#042739

#042739 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 25.9% C 0.051 H 236.1°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#042739
RGBrgb(4, 39, 57)
HSLhsl(200, 87%, 12%)
HSVhsv(200, 93%, 22%)
CMYKcmyk(93%, 31.6%, 0%, 77.6%)
CIE-LABlab(14.24, -4.56, -15.07)
CIE-LCHlch(14.24, 15.74, 253.18°)
OKLaboklab(25.86% -0.0286 -0.0426)
OKLCHoklch(25.86% 0.051 236.1)
XYZxyz(1.5138, 1.7721, 4.1324)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042739 #391604
analogous
#043931 #042739 #040D39
triadic
#042739 #390427 #273904
tetradic
#042739 #310439 #391604 #0D3904
square
#042739 #310439 #391604 #0D3904
split-complementary
#042739 #39040D #393104
monochromatic
#02141D #02141D #042739 #084E72 #0C75AB

Accessibility & contrast

On white

15.51
#042739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#042739 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042739
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042739#FFFFFF#000000##FFFFFF
##0427391.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E273A
Deuteranopia (green-blind)
#172239
Tritanopia (blue-blind)
#002C2D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #042739;
/* rgb */ color: rgb(4, 39, 57);
/* oklch */ color: oklch(25.9% 0.051 236.1);
Tailwind
colors: {
  custom: {
    50: '#4e606f',
    500: '#042739',
    950: '#000000',
  },
}
SCSS
$custom: #042739;
$custom-light: #4e606f;
$custom-dark: #000000;
JSON
{
  "hex": "#042739",
  "rgb": {
    "r": 4,
    "g": 39,
    "b": 57
  },
  "hsl": {
    "h": 200.377,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.25856,
    "c": 0.05131,
    "h": 236.1
  },
  "luminance": 0.01772
}

Semantic roles & 50–950 ramp

primary
#042739
secondary
#7B3D1E
accent
#722BFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020507
muted
#78797A

Preview Lab

Preview with #042739

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

Preview Lab → · Contrast checker → · Palette generator →

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