#05212B#05212B

#05212B is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.2% C 0.038 H 225.4°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#05212B
RGBrgb(5, 33, 43)
HSLhsl(196, 79%, 9%)
HSVhsv(196, 88%, 17%)
CMYKcmyk(88.4%, 23.3%, 0%, 83.1%)
CIE-LABlab(11.24, -6.31, -9.73)
CIE-LCHlch(11.24, 11.60, 237.05°)
OKLaboklab(23.22% -0.0269 -0.0273)
OKLCHoklch(23.22% 0.038 225.4)
XYZxyz(1.0423, 1.2943, 2.4799)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05212B #2B0F05
analogous
#052B22 #05212B #050E2B
triadic
#05212B #2B0521 #212B05
tetradic
#05212B #22052B #2B0F05 #0E2B05
square
#05212B #22052B #2B0F05 #0E2B05
split-complementary
#05212B #2B050E #2B2205
monochromatic
#03151B #03151B #05212B #0B4B62 #127599

Accessibility & contrast

On white

16.68
#05212B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#05212B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05212B
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05212B#FFFFFF#000000##FFFFFF
##05212B1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C202C
Deuteranopia (green-blind)
#161C2B
Tritanopia (blue-blind)
#002424
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #05212b;
/* rgb */ color: rgb(5, 33, 43);
/* oklch */ color: oklch(23.2% 0.038 225.4);
Tailwind
colors: {
  custom: {
    50: '#4b5c64',
    500: '#05212b',
    950: '#000000',
  },
}
SCSS
$custom: #05212b;
$custom-light: #4b5c64;
$custom-dark: #000000;
JSON
{
  "hex": "#05212b",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 43
  },
  "hsl": {
    "h": 195.789,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.23216,
    "c": 0.03829,
    "h": 225.4
  },
  "luminance": 0.01294
}

Semantic roles & 50–950 ramp

primary
#05212B
secondary
#6D341F
accent
#6632F6
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010405
muted
#777979

Preview Lab

Preview with #05212B

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

Preview Lab → · Contrast checker → · Palette generator →

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