#042B39#042B39

#042B39 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.1% C 0.049 H 227.2°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#042B39
RGBrgb(4, 43, 57)
HSLhsl(196, 87%, 12%)
HSVhsv(196, 93%, 22%)
CMYKcmyk(93%, 24.6%, 0%, 77.6%)
CIE-LABlab(15.74, -7.29, -12.73)
CIE-LCHlch(15.74, 14.68, 240.20°)
OKLaboklab(27.05% -0.0331 -0.0358)
OKLCHoklch(27.05% 0.049 227.2)
XYZxyz(1.6522, 2.0488, 4.1785)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B39 #391204
analogous
#04392D #042B39 #041139
triadic
#042B39 #39042B #2B3904
tetradic
#042B39 #2D0439 #391204 #113904
square
#042B39 #2D0439 #391204 #113904
split-complementary
#042B39 #390411 #392D04
monochromatic
#02161D #02161D #042B39 #085672 #0C81AB

Accessibility & contrast

On white

14.90
#042B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#042B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042B39
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B39#FFFFFF#000000##FFFFFF
##042B391.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242A3A
Deuteranopia (green-blind)
#1C2539
Tritanopia (blue-blind)
#002F30
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042b39;
/* rgb */ color: rgb(4, 43, 57);
/* oklch */ color: oklch(27.1% 0.049 227.2);
Tailwind
colors: {
  custom: {
    50: '#4f646f',
    500: '#042b39',
    950: '#000000',
  },
}
SCSS
$custom: #042b39;
$custom-light: #4f646f;
$custom-dark: #000000;
JSON
{
  "hex": "#042b39",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 57
  },
  "hsl": {
    "h": 195.849,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.27053,
    "c": 0.04879,
    "h": 227.2
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#042B39
secondary
#7B361E
accent
#622BFD
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A

Preview Lab

Preview with #042B39

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

Preview Lab → · Contrast checker → · Palette generator →

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