#021B23#021B23

#021B23 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.7% C 0.035 H 221.8°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#021B23
RGBrgb(2, 27, 35)
HSLhsl(195, 89%, 7%)
HSVhsv(195, 94%, 14%)
CMYKcmyk(94.3%, 22.9%, 0%, 86.3%)
CIE-LABlab(8.29, -6.23, -8.39)
CIE-LCHlch(8.29, 10.45, 233.43°)
OKLaboklab(20.67% -0.0263 -0.0235)
OKLCHoklch(20.67% 0.035 221.8)
XYZxyz(0.7202, 0.9180, 1.7290)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B23 #230A02
analogous
#02231B #021B23 #020B23
triadic
#021B23 #23021B #1B2302
tetradic
#021B23 #1B0223 #230A02 #0B2302
square
#021B23 #1B0223 #230A02 #0B2302
split-complementary
#021B23 #23020B #231B02
monochromatic
#02161D #02161D #021B23 #05485D #097497

Accessibility & contrast

On white

17.74
#021B23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#021B23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021B23
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B23#FFFFFF#000000##FFFFFF
##021B231.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161A23
Deuteranopia (green-blind)
#111723
Tritanopia (blue-blind)
#001E1E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #021b23;
/* rgb */ color: rgb(2, 27, 35);
/* oklch */ color: oklch(20.7% 0.035 221.8);
Tailwind
colors: {
  custom: {
    50: '#47575d',
    500: '#021b23',
    950: '#000000',
  },
}
SCSS
$custom: #021b23;
$custom-light: #47575d;
$custom-dark: #000000;
JSON
{
  "hex": "#021b23",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 35
  },
  "hsl": {
    "h": 194.545,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.20673,
    "c": 0.03528,
    "h": 221.8
  },
  "luminance": 0.00918
}

Semantic roles & 50–950 ramp

primary
#021B23
secondary
#692C18
accent
#5D29FF
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000304
muted
#777879

Preview Lab

Preview with #021B23

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

Preview Lab → · Contrast checker → · Palette generator →

#021B23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva