#042647#042647

#042647 is a dark, moderate cyan. Relative luminance 0.019; OKLCH L 26.6% C 0.072 H 251.7°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#042647
RGBrgb(4, 38, 71)
HSLhsl(210, 89%, 15%)
HSVhsv(210, 94%, 28%)
CMYKcmyk(94.4%, 46.5%, 0%, 72.2%)
CIE-LABlab(14.77, 2.59, -23.98)
CIE-LCHlch(14.77, 24.12, 276.16°)
OKLaboklab(26.56% -0.0227 -0.0687)
OKLCHoklch(26.56% 0.072 251.7)
XYZxyz(1.8801, 1.8667, 6.2212)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042647 #472504
analogous
#044747 #042647 #040547
triadic
#042647 #470426 #264704
tetradic
#042647 #470447 #472504 #054704
square
#042647 #470447 #472504 #054704
split-complementary
#042647 #470405 #474704
monochromatic
#02101D #02101D #042647 #074581 #0B64BB

Accessibility & contrast

On white

15.29
#042647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#042647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042647
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042647#FFFFFF#000000##FFFFFF
##0426471.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152848
Deuteranopia (green-blind)
#092246
Tritanopia (blue-blind)
#002E33
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #042647;
/* rgb */ color: rgb(4, 38, 71);
/* oklch */ color: oklch(26.6% 0.072 251.7);
Tailwind
colors: {
  custom: {
    50: '#525f7a',
    500: '#042647',
    950: '#000000',
  },
}
SCSS
$custom: #042647;
$custom-light: #525f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#042647",
  "rgb": {
    "r": 4,
    "g": 38,
    "b": 71
  },
  "hsl": {
    "h": 209.552,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26564,
    "c": 0.07236,
    "h": 251.7
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#042647
secondary
#88531F
accent
#9229FF
background
#F4F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #042647

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

Preview Lab → · Contrast checker → · Palette generator →

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