#021121#021121

#021121 is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 17.3% C 0.041 H 248.7°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#021121
RGBrgb(2, 17, 33)
HSLhsl(211, 89%, 7%)
HSVhsv(211, 94%, 13%)
CMYKcmyk(93.9%, 48.5%, 0%, 87.1%)
CIE-LABlab(4.73, 0.10, -12.35)
CIE-LCHlch(4.73, 12.35, 270.44°)
OKLaboklab(17.34% -0.0148 -0.0381)
OKLCHoklch(17.34% 0.041 248.7)
XYZxyz(0.4999, 0.5235, 1.5133)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021121 #211202
analogous
#022121 #021121 #030221
triadic
#021121 #210211 #112102
tetradic
#021121 #210221 #211202 #022103
square
#021121 #210221 #211202 #022103
split-complementary
#021121 #210302 #212102
monochromatic
#020F1D #020F1D #021121 #052F5B #094C94

Accessibility & contrast

On white

19.01
#021121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#021121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021121
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021121#FFFFFF#000000##FFFFFF
##0211211.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091222
Deuteranopia (green-blind)
#050F21
Tritanopia (blue-blind)
#001517
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #021121;
/* rgb */ color: rgb(2, 17, 33);
/* oklch */ color: oklch(17.3% 0.041 248.7);
Tailwind
colors: {
  custom: {
    50: '#474f5c',
    500: '#021121',
    950: '#000000',
  },
}
SCSS
$custom: #021121;
$custom-light: #474f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#021121",
  "rgb": {
    "r": 2,
    "g": 17,
    "b": 33
  },
  "hsl": {
    "h": 210.968,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.17335,
    "c": 0.04085,
    "h": 248.7
  },
  "luminance": 0.00524
}

Semantic roles & 50–950 ramp

primary
#021121
secondary
#674118
accent
#9729FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000104
muted
#777779

Preview Lab

Preview with #021121

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

Preview Lab → · Contrast checker → · Palette generator →

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