#05223F#05223F

#05223F is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.9% C 0.065 H 251.7°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#05223F
RGBrgb(5, 34, 63)
HSLhsl(210, 85%, 13%)
HSVhsv(210, 92%, 25%)
CMYKcmyk(92.1%, 46%, 0%, 75.3%)
CIE-LABlab(12.83, 2.03, -21.52)
CIE-LCHlch(12.83, 21.61, 275.38°)
OKLaboklab(24.88% -0.0203 -0.0615)
OKLCHoklch(24.88% 0.065 251.7)
XYZxyz(1.5315, 1.5350, 4.9172)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05223F #3F2205
analogous
#053F3F #05223F #05053F
triadic
#05223F #3F0522 #223F05
tetradic
#05223F #3F053F #3F2205 #053F05
square
#05223F #3F053F #3F2205 #053F05
split-complementary
#05223F #3F0505 #3F3F05
monochromatic
#020F1C #020F1C #05223F #094178 #0E5FB0

Accessibility & contrast

On white

16.07
#05223F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#05223F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05223F
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05223F#FFFFFF#000000##FFFFFF
##05223F1.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142440
Deuteranopia (green-blind)
#0A1F3E
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #05223f;
/* rgb */ color: rgb(5, 34, 63);
/* oklch */ color: oklch(24.9% 0.065 251.7);
Tailwind
colors: {
  custom: {
    50: '#505c74',
    500: '#05223f',
    950: '#000000',
  },
}
SCSS
$custom: #05223f;
$custom-light: #505c74;
$custom-dark: #000000;
JSON
{
  "hex": "#05223f",
  "rgb": {
    "r": 5,
    "g": 34,
    "b": 63
  },
  "hsl": {
    "h": 210,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24876,
    "c": 0.06481,
    "h": 251.7
  },
  "luminance": 0.01535
}

Semantic roles & 50–950 ramp

primary
#05223F
secondary
#805020
accent
#942CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #05223F

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

Preview Lab → · Contrast checker → · Palette generator →

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