#021223#021223

#021223 is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 17.8% C 0.043 H 249.1°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#021223
RGBrgb(2, 18, 35)
HSLhsl(211, 89%, 7%)
HSVhsv(211, 94%, 14%)
CMYKcmyk(94.3%, 48.6%, 0%, 86.3%)
CIE-LABlab(5.12, 0.24, -13.28)
CIE-LCHlch(5.12, 13.29, 271.04°)
OKLaboklab(17.81% -0.0153 -0.04)
OKLCHoklch(17.81% 0.043 249.1)
XYZxyz(0.5446, 0.5668, 1.6705)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021223 #231302
analogous
#022323 #021223 #030223
triadic
#021223 #230212 #122302
tetradic
#021223 #230223 #231302 #022303
square
#021223 #230223 #231302 #022303
split-complementary
#021223 #230302 #232302
monochromatic
#020F1D #020F1D #021223 #05305D #094E97

Accessibility & contrast

On white

18.86
#021223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#021223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021223
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021223#FFFFFF#000000##FFFFFF
##0212231.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1324
Deuteranopia (green-blind)
#051023
Tritanopia (blue-blind)
#001618
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #021223;
/* rgb */ color: rgb(2, 18, 35);
/* oklch */ color: oklch(17.8% 0.043 249.1);
Tailwind
colors: {
  custom: {
    50: '#47505e',
    500: '#021223',
    950: '#000000',
  },
}
SCSS
$custom: #021223;
$custom-light: #47505e;
$custom-dark: #000000;
JSON
{
  "hex": "#021223",
  "rgb": {
    "r": 2,
    "g": 18,
    "b": 35
  },
  "hsl": {
    "h": 210.909,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.17806,
    "c": 0.04285,
    "h": 249.1
  },
  "luminance": 0.00567
}

Semantic roles & 50–950 ramp

primary
#021223
secondary
#694218
accent
#9729FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000204
muted
#777879

Preview Lab

Preview with #021223

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

Preview Lab → · Contrast checker → · Palette generator →

#021223 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva