#05223C#05223C

#05223C is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.6% C 0.060 H 249.3°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#05223C
RGBrgb(5, 34, 60)
HSLhsl(208, 85%, 13%)
HSVhsv(208, 92%, 24%)
CMYKcmyk(91.7%, 43.3%, 0%, 76.5%)
CIE-LABlab(12.62, 0.63, -19.73)
CIE-LCHlch(12.62, 19.74, 271.82°)
OKLaboklab(24.65% -0.0212 -0.0563)
OKLCHoklch(24.65% 0.06 249.3)
XYZxyz(1.4499, 1.5024, 4.4877)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05223C #3C1F05
analogous
#053C3A #05223C #05063C
triadic
#05223C #3C0522 #223C05
tetradic
#05223C #3A053C #3C1F05 #063C05
square
#05223C #3A053C #3C1F05 #063C05
split-complementary
#05223C #3C0506 #3C3A05
monochromatic
#02101C #02101C #05223C #0A4274 #0E62AD

Accessibility & contrast

On white

16.15
#05223C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#05223C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05223C
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05223C#FFFFFF#000000##FFFFFF
##05223C1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16243D
Deuteranopia (green-blind)
#0D1E3B
Tritanopia (blue-blind)
#00282C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #05223c;
/* rgb */ color: rgb(5, 34, 60);
/* oklch */ color: oklch(24.6% 0.060 249.3);
Tailwind
colors: {
  custom: {
    50: '#4f5c72',
    500: '#05223c',
    950: '#000000',
  },
}
SCSS
$custom: #05223c;
$custom-light: #4f5c72;
$custom-dark: #000000;
JSON
{
  "hex": "#05223c",
  "rgb": {
    "r": 5,
    "g": 34,
    "b": 60
  },
  "hsl": {
    "h": 208.364,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24648,
    "c": 0.06018,
    "h": 249.3
  },
  "luminance": 0.01503
}

Semantic roles & 50–950 ramp

primary
#05223C
secondary
#7D4C20
accent
#8E2DFB
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020408
muted
#78797B

Preview Lab

Preview with #05223C

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

Preview Lab → · Contrast checker → · Palette generator →

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