#042339#042339

#042339 is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.7% C 0.055 H 244.0°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#042339
RGBrgb(4, 35, 57)
HSLhsl(205, 87%, 12%)
HSVhsv(205, 93%, 22%)
CMYKcmyk(93%, 38.6%, 0%, 77.6%)
CIE-LABlab(12.75, -1.69, -17.41)
CIE-LCHlch(12.75, 17.49, 264.46°)
OKLaboklab(24.68% -0.0242 -0.0495)
OKLCHoklch(24.68% 0.055 244)
XYZxyz(1.3893, 1.5231, 4.0909)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042339 #391A04
analogous
#043935 #042339 #040839
triadic
#042339 #390423 #233904
tetradic
#042339 #350439 #391A04 #083904
square
#042339 #350439 #391A04 #083904
split-complementary
#042339 #390408 #393504
monochromatic
#02121D #02121D #042339 #084672 #0C69AB

Accessibility & contrast

On white

16.10
#042339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#042339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042339
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042339#FFFFFF#000000##FFFFFF
##0423391.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19243A
Deuteranopia (green-blind)
#111F39
Tritanopia (blue-blind)
#00282B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #042339;
/* rgb */ color: rgb(4, 35, 57);
/* oklch */ color: oklch(24.7% 0.055 244.0);
Tailwind
colors: {
  custom: {
    50: '#4e5d6f',
    500: '#042339',
    950: '#000000',
  },
}
SCSS
$custom: #042339;
$custom-light: #4e5d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#042339",
  "rgb": {
    "r": 4,
    "g": 35,
    "b": 57
  },
  "hsl": {
    "h": 204.906,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24676,
    "c": 0.05508,
    "h": 244
  },
  "luminance": 0.01523
}

Semantic roles & 50–950 ramp

primary
#042339
secondary
#7B451E
accent
#822BFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #042339

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

Preview Lab → · Contrast checker → · Palette generator →

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