#05223A#05223A

#05223A is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.5% C 0.057 H 247.5°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#05223A
RGBrgb(5, 34, 58)
HSLhsl(207, 84%, 12%)
HSVhsv(207, 91%, 23%)
CMYKcmyk(91.4%, 41.4%, 0%, 77.3%)
CIE-LABlab(12.49, -0.30, -18.53)
CIE-LCHlch(12.49, 18.53, 269.08°)
OKLaboklab(24.5% -0.0219 -0.0528)
OKLCHoklch(24.5% 0.057 247.5)
XYZxyz(1.3980, 1.4816, 4.2145)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05223A #3A1D05
analogous
#053A38 #05223A #05073A
triadic
#05223A #3A0522 #223A05
tetradic
#05223A #38053A #3A1D05 #073A05
square
#05223A #38053A #3A1D05 #073A05
split-complementary
#05223A #3A0507 #3A3805
monochromatic
#02111C #02111C #05223A #0A4372 #0F64AB

Accessibility & contrast

On white

16.20
#05223A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05223A
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05223A#FFFFFF#000000##FFFFFF
##05223A1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17233B
Deuteranopia (green-blind)
#0F1E3A
Tritanopia (blue-blind)
#00282B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #05223a;
/* rgb */ color: rgb(5, 34, 58);
/* oklch */ color: oklch(24.5% 0.057 247.5);
Tailwind
colors: {
  custom: {
    50: '#4f5c70',
    500: '#05223a',
    950: '#000000',
  },
}
SCSS
$custom: #05223a;
$custom-light: #4f5c70;
$custom-dark: #000000;
JSON
{
  "hex": "#05223a",
  "rgb": {
    "r": 5,
    "g": 34,
    "b": 58
  },
  "hsl": {
    "h": 207.17,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24501,
    "c": 0.05714,
    "h": 247.5
  },
  "luminance": 0.01482
}

Semantic roles & 50–950 ramp

primary
#05223A
secondary
#7B4920
accent
#8A2DFA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #05223A

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

Preview Lab → · Contrast checker → · Palette generator →

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