#042447#042447

#042447 is a dark, moderate cyan. Relative luminance 0.017; OKLCH L 26.0% C 0.075 H 253.8°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#042447
RGBrgb(4, 36, 71)
HSLhsl(211, 89%, 15%)
HSVhsv(211, 94%, 28%)
CMYKcmyk(94.4%, 49.3%, 0%, 72.2%)
CIE-LABlab(14.07, 4.09, -25.10)
CIE-LCHlch(14.07, 25.43, 279.26°)
OKLaboklab(26.02% -0.0209 -0.072)
OKLCHoklch(26.02% 0.075 253.8)
XYZxyz(1.8178, 1.7423, 6.2005)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042447 #472704
analogous
#044647 #042447 #050447
triadic
#042447 #470424 #244704
tetradic
#042447 #470446 #472704 #044705
square
#042447 #470446 #472704 #044705
split-complementary
#042447 #470504 #464704
monochromatic
#020F1D #020F1D #042447 #074181 #0B5FBB

Accessibility & contrast

On white

15.57
#042447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042447
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042447#FFFFFF#000000##FFFFFF
##0424471.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122748
Deuteranopia (green-blind)
#042146
Tritanopia (blue-blind)
#002C32
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #042447;
/* rgb */ color: rgb(4, 36, 71);
/* oklch */ color: oklch(26.0% 0.075 253.8);
Tailwind
colors: {
  custom: {
    50: '#525e7a',
    500: '#042447',
    950: '#000000',
  },
}
SCSS
$custom: #042447;
$custom-light: #525e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#042447",
  "rgb": {
    "r": 4,
    "g": 36,
    "b": 71
  },
  "hsl": {
    "h": 211.343,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26019,
    "c": 0.075,
    "h": 253.8
  },
  "luminance": 0.01742
}

Semantic roles & 50–950 ramp

primary
#042447
secondary
#88561F
accent
#9929FF
background
#F4F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #042447

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

Preview Lab → · Contrast checker → · Palette generator →

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