#05213C#05213C

#05213C is a very dark, moderate cyan. Relative luminance 0.014; OKLCH L 24.4% C 0.061 H 250.8°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#05213C
RGBrgb(5, 33, 60)
HSLhsl(209, 85%, 13%)
HSVhsv(209, 92%, 24%)
CMYKcmyk(91.7%, 45%, 0%, 76.5%)
CIE-LABlab(12.26, 1.38, -20.31)
CIE-LCHlch(12.26, 20.36, 273.89°)
OKLaboklab(24.36% -0.0202 -0.058)
OKLCHoklch(24.36% 0.061 250.8)
XYZxyz(1.4217, 1.4460, 4.4783)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05213C #3C2005
analogous
#053C3B #05213C #05053C
triadic
#05213C #3C0521 #213C05
tetradic
#05213C #3B053C #3C2005 #053C05
square
#05213C #3B053C #3C2005 #053C05
split-complementary
#05213C #3C0505 #3C3B05
monochromatic
#02101C #02101C #05213C #0A4074 #0E5FAD

Accessibility & contrast

On white

16.29
#05213C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#05213C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05213C
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05213C#FFFFFF#000000##FFFFFF
##05213C1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14233D
Deuteranopia (green-blind)
#0B1E3B
Tritanopia (blue-blind)
#00272B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #05213c;
/* rgb */ color: rgb(5, 33, 60);
/* oklch */ color: oklch(24.4% 0.061 250.8);
Tailwind
colors: {
  custom: {
    50: '#4f5b72',
    500: '#05213c',
    950: '#000000',
  },
}
SCSS
$custom: #05213c;
$custom-light: #4f5b72;
$custom-dark: #000000;
JSON
{
  "hex": "#05213c",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 60
  },
  "hsl": {
    "h": 209.455,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24364,
    "c": 0.06143,
    "h": 250.8
  },
  "luminance": 0.01446
}

Semantic roles & 50–950 ramp

primary
#05213C
secondary
#7D4E20
accent
#922DFB
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020408
muted
#78797B

Preview Lab

Preview with #05213C

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

Preview Lab → · Contrast checker → · Palette generator →

#05213C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva