#042747#042747

#042747 is a dark, moderate cyan. Relative luminance 0.019; OKLCH L 26.8% C 0.071 H 250.5°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#042747
RGBrgb(4, 39, 71)
HSLhsl(209, 89%, 15%)
HSVhsv(209, 94%, 28%)
CMYKcmyk(94.4%, 45.1%, 0%, 72.2%)
CIE-LABlab(15.12, 1.84, -23.41)
CIE-LCHlch(15.12, 23.49, 274.50°)
OKLaboklab(26.84% -0.0237 -0.067)
OKLCHoklch(26.84% 0.071 250.5)
XYZxyz(1.9125, 1.9315, 6.2320)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042747 #472404
analogous
#044746 #042747 #040547
triadic
#042747 #470427 #274704
tetradic
#042747 #460447 #472404 #054704
square
#042747 #460447 #472404 #054704
split-complementary
#042747 #470405 #474604
monochromatic
#02101D #02101D #042747 #074781 #0B67BB

Accessibility & contrast

On white

15.15
#042747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#042747 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042747
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042747#FFFFFF#000000##FFFFFF
##0427471.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172948
Deuteranopia (green-blind)
#0C2346
Tritanopia (blue-blind)
#002F33
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #042747;
/* rgb */ color: rgb(4, 39, 71);
/* oklch */ color: oklch(26.8% 0.071 250.5);
Tailwind
colors: {
  custom: {
    50: '#52607a',
    500: '#042747',
    950: '#000000',
  },
}
SCSS
$custom: #042747;
$custom-light: #52607a;
$custom-dark: #000000;
JSON
{
  "hex": "#042747",
  "rgb": {
    "r": 4,
    "g": 39,
    "b": 71
  },
  "hsl": {
    "h": 208.657,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26839,
    "c": 0.07107,
    "h": 250.5
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#042747
secondary
#88511F
accent
#8F29FF
background
#F4F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #042747

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

Preview Lab → · Contrast checker → · Palette generator →

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