#052547#052547

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

Color values

HEX#052547
RGBrgb(5, 37, 71)
HSLhsl(211, 87%, 15%)
HSVhsv(211, 93%, 28%)
CMYKcmyk(93%, 47.9%, 0%, 72.2%)
CIE-LABlab(14.46, 3.48, -24.48)
CIE-LCHlch(14.46, 24.72, 278.10°)
OKLaboklab(26.33% -0.0211 -0.0702)
OKLCHoklch(26.33% 0.073 253.3)
XYZxyz(1.8611, 1.8101, 6.2113)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052547 #472705
analogous
#054647 #052547 #060547
triadic
#052547 #470525 #254705
tetradic
#052547 #470546 #472705 #054706
square
#052547 #470546 #472705 #054706
split-complementary
#052547 #470605 #464705
monochromatic
#020F1D #020F1D #052547 #094380 #0D61B9

Accessibility & contrast

On white

15.42
#052547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052547
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052547#FFFFFF#000000##FFFFFF
##0525471.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #052547;
/* rgb */ color: rgb(5, 37, 71);
/* oklch */ color: oklch(26.3% 0.073 253.3);
Tailwind
colors: {
  custom: {
    50: '#525f7a',
    500: '#052547',
    950: '#000000',
  },
}
SCSS
$custom: #052547;
$custom-light: #525f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#052547",
  "rgb": {
    "r": 5,
    "g": 37,
    "b": 71
  },
  "hsl": {
    "h": 210.909,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26329,
    "c": 0.07326,
    "h": 253.3
  },
  "luminance": 0.0181
}

Semantic roles & 50–950 ramp

primary
#052547
secondary
#875521
accent
#972BFD
background
#F5F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #052547

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

Preview Lab → · Contrast checker → · Palette generator →

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