#042547#042547

#042547 is a dark, moderate cyan. Relative luminance 0.018; OKLCH L 26.3% C 0.074 H 252.8°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#042547
RGBrgb(4, 37, 71)
HSLhsl(210, 89%, 15%)
HSVhsv(210, 94%, 28%)
CMYKcmyk(94.4%, 47.9%, 0%, 72.2%)
CIE-LABlab(14.42, 3.34, -24.54)
CIE-LCHlch(14.42, 24.76, 277.74°)
OKLaboklab(26.29% -0.0218 -0.0704)
OKLCHoklch(26.29% 0.074 252.8)
XYZxyz(1.8485, 1.8036, 6.2107)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042547 #472604
analogous
#044747 #042547 #050447
triadic
#042547 #470425 #254704
tetradic
#042547 #470447 #472604 #044705
square
#042547 #470447 #472604 #044705
split-complementary
#042547 #470504 #474704
monochromatic
#020F1D #020F1D #042547 #074381 #0B61BB

Accessibility & contrast

On white

15.43
#042547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#042547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042547
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042547#FFFFFF#000000##FFFFFF
##0425471.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132848
Deuteranopia (green-blind)
#072246
Tritanopia (blue-blind)
#002D32
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #042547;
/* rgb */ color: rgb(4, 37, 71);
/* oklch */ color: oklch(26.3% 0.074 252.8);
Tailwind
colors: {
  custom: {
    50: '#525f7a',
    500: '#042547',
    950: '#000000',
  },
}
SCSS
$custom: #042547;
$custom-light: #525f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#042547",
  "rgb": {
    "r": 4,
    "g": 37,
    "b": 71
  },
  "hsl": {
    "h": 210.448,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2629,
    "c": 0.07367,
    "h": 252.8
  },
  "luminance": 0.01804
}

Semantic roles & 50–950 ramp

primary
#042547
secondary
#88541F
accent
#9529FF
background
#F4F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #042547

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

Preview Lab → · Contrast checker → · Palette generator →

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