#05213F#05213F

#05213F is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.6% C 0.066 H 253.0°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#05213F
RGBrgb(5, 33, 63)
HSLhsl(211, 85%, 13%)
HSVhsv(211, 92%, 25%)
CMYKcmyk(92.1%, 47.6%, 0%, 75.3%)
CIE-LABlab(12.47, 2.78, -22.09)
CIE-LCHlch(12.47, 22.26, 277.18°)
OKLaboklab(24.6% -0.0193 -0.0632)
OKLCHoklch(24.6% 0.066 253)
XYZxyz(1.5033, 1.4787, 4.9078)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05213F #3F2305
analogous
#053E3F #05213F #06053F
triadic
#05213F #3F0521 #213F05
tetradic
#05213F #3F053E #3F2305 #053F06
square
#05213F #3F053E #3F2305 #053F06
split-complementary
#05213F #3F0605 #3E3F05
monochromatic
#020F1C #020F1C #05213F #093F78 #0E5CB0

Accessibility & contrast

On white

16.21
#05213F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#05213F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05213F
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05213F#FFFFFF#000000##FFFFFF
##05213F1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122340
Deuteranopia (green-blind)
#081E3E
Tritanopia (blue-blind)
#00282C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #05213f;
/* rgb */ color: rgb(5, 33, 63);
/* oklch */ color: oklch(24.6% 0.066 253.0);
Tailwind
colors: {
  custom: {
    50: '#505b74',
    500: '#05213f',
    950: '#000000',
  },
}
SCSS
$custom: #05213f;
$custom-light: #505b74;
$custom-dark: #000000;
JSON
{
  "hex": "#05213f",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 63
  },
  "hsl": {
    "h": 211.034,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24597,
    "c": 0.06613,
    "h": 253
  },
  "luminance": 0.01479
}

Semantic roles & 50–950 ramp

primary
#05213F
secondary
#805220
accent
#972CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #05213F

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

Preview Lab → · Contrast checker → · Palette generator →

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