#021123#021123

#021123 is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 17.5% C 0.044 H 251.3°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#021123
RGBrgb(2, 17, 35)
HSLhsl(213, 89%, 7%)
HSVhsv(213, 94%, 14%)
CMYKcmyk(94.3%, 51.4%, 0%, 86.3%)
CIE-LABlab(4.83, 0.82, -13.72)
CIE-LCHlch(4.83, 13.75, 273.43°)
OKLaboklab(17.5% -0.0141 -0.0419)
OKLCHoklch(17.5% 0.044 251.3)
XYZxyz(0.5287, 0.5351, 1.6652)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021123 #231402
analogous
#022223 #021123 #030223
triadic
#021123 #230211 #112302
tetradic
#021123 #230222 #231402 #022303
square
#021123 #230222 #231402 #022303
split-complementary
#021123 #230302 #222302
monochromatic
#020E1D #020E1D #021123 #052D5D #094997

Accessibility & contrast

On white

18.97
#021123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021123
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021123#FFFFFF#000000##FFFFFF
##0211231.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081224
Deuteranopia (green-blind)
#040F23
Tritanopia (blue-blind)
#001518
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #021123;
/* rgb */ color: rgb(2, 17, 35);
/* oklch */ color: oklch(17.5% 0.044 251.3);
Tailwind
colors: {
  custom: {
    50: '#474f5e',
    500: '#021123',
    950: '#000000',
  },
}
SCSS
$custom: #021123;
$custom-light: #474f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#021123",
  "rgb": {
    "r": 2,
    "g": 17,
    "b": 35
  },
  "hsl": {
    "h": 212.727,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.17498,
    "c": 0.04422,
    "h": 251.3
  },
  "luminance": 0.00535
}

Semantic roles & 50–950 ramp

primary
#021123
secondary
#694418
accent
#9E29FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000104
muted
#777779

Preview Lab

Preview with #021123

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

Preview Lab → · Contrast checker → · Palette generator →

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