#052148#052148

#052148 is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.3% C 0.080 H 257.6°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#052148
RGBrgb(5, 33, 72)
HSLhsl(215, 87%, 15%)
HSVhsv(215, 93%, 28%)
CMYKcmyk(93.1%, 54.2%, 0%, 71.8%)
CIE-LABlab(13.15, 7.01, -27.26)
CIE-LCHlch(13.15, 28.15, 284.41°)
OKLaboklab(25.35% -0.0173 -0.0785)
OKLCHoklch(25.35% 0.08 257.6)
XYZxyz(1.7757, 1.5876, 6.3425)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052148 #482C05
analogous
#054348 #052148 #0A0548
triadic
#052148 #480521 #214805
tetradic
#052148 #480543 #482C05 #05480A
square
#052148 #480543 #482C05 #05480A
split-complementary
#052148 #480A05 #434805
monochromatic
#020D1D #020D1D #052148 #093B81 #0D55BA

Accessibility & contrast

On white

15.94
#052148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#052148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052148
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052148#FFFFFF#000000##FFFFFF
##0521481.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2549
Deuteranopia (green-blind)
#001F47
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #052148;
/* rgb */ color: rgb(5, 33, 72);
/* oklch */ color: oklch(25.3% 0.080 257.6);
Tailwind
colors: {
  custom: {
    50: '#535b7b',
    500: '#052148',
    950: '#000000',
  },
}
SCSS
$custom: #052148;
$custom-light: #535b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#052148",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 214.925,
    "s": 87.013,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25345,
    "c": 0.08034,
    "h": 257.6
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#052148
secondary
#885D21
accent
#A52BFD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #052148

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

Preview Lab → · Contrast checker → · Palette generator →

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