#05213B#05213B

#05213B is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 24.3% C 0.060 H 250.0°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#05213B
RGBrgb(5, 33, 59)
HSLhsl(209, 84%, 13%)
HSVhsv(209, 92%, 23%)
CMYKcmyk(91.5%, 44.1%, 0%, 76.9%)
CIE-LABlab(12.19, 0.92, -19.71)
CIE-LCHlch(12.19, 19.73, 272.66°)
OKLaboklab(24.29% -0.0205 -0.0563)
OKLCHoklch(24.29% 0.06 250)
XYZxyz(1.3956, 1.4356, 4.3404)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05213B #3B1F05
analogous
#053B3A #05213B #05063B
triadic
#05213B #3B0521 #213B05
tetradic
#05213B #3A053B #3B1F05 #063B05
square
#05213B #3A053B #3B1F05 #063B05
split-complementary
#05213B #3B0506 #3B3A05
monochromatic
#02101C #02101C #05213B #0A4173 #0F60AC

Accessibility & contrast

On white

16.31
#05213B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05213B
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05213B#FFFFFF#000000##FFFFFF
##05213B1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15233C
Deuteranopia (green-blind)
#0C1E3A
Tritanopia (blue-blind)
#00272B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #05213b;
/* rgb */ color: rgb(5, 33, 59);
/* oklch */ color: oklch(24.3% 0.060 250.0);
Tailwind
colors: {
  custom: {
    50: '#4f5b71',
    500: '#05213b',
    950: '#000000',
  },
}
SCSS
$custom: #05213b;
$custom-light: #4f5b71;
$custom-dark: #000000;
JSON
{
  "hex": "#05213b",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 59
  },
  "hsl": {
    "h": 208.889,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24288,
    "c": 0.05989,
    "h": 250
  },
  "luminance": 0.01436
}

Semantic roles & 50–950 ramp

primary
#05213B
secondary
#7C4C20
accent
#902DFB
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #05213B

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

Preview Lab → · Contrast checker → · Palette generator →

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