#021F23#021F23

#021F23 is a very dark, muted teal. Relative luminance 0.011; OKLCH L 22.0% C 0.035 H 207.7°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#021F23
RGBrgb(2, 31, 35)
HSLhsl(187, 89%, 7%)
HSVhsv(187, 94%, 14%)
CMYKcmyk(94.3%, 11.4%, 0%, 86.3%)
CIE-LABlab(9.91, -9.19, -5.92)
CIE-LCHlch(9.91, 10.93, 212.78°)
OKLaboklab(21.98% -0.0314 -0.0165)
OKLCHoklch(21.98% 0.035 207.7)
XYZxyz(0.8183, 1.1141, 1.7617)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F23 #230602
analogous
#022317 #021F23 #020F23
triadic
#021F23 #23021F #1F2302
tetradic
#021F23 #170223 #230602 #0F2302
square
#021F23 #170223 #230602 #0F2302
split-complementary
#021F23 #23020F #231702
monochromatic
#021A1D #021A1D #021F23 #05525D #098697

Accessibility & contrast

On white

17.17
#021F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#021F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021F23
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F23#FFFFFF#000000##FFFFFF
##021F231.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1D23
Deuteranopia (green-blind)
#161A23
Tritanopia (blue-blind)
#002120
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #021f23;
/* rgb */ color: rgb(2, 31, 35);
/* oklch */ color: oklch(22.0% 0.035 207.7);
Tailwind
colors: {
  custom: {
    50: '#475a5d',
    500: '#021f23',
    950: '#000000',
  },
}
SCSS
$custom: #021f23;
$custom-light: #475a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#021f23",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 187.273,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.21978,
    "c": 0.03542,
    "h": 207.7
  },
  "luminance": 0.01114
}

Semantic roles & 50–950 ramp

primary
#021F23
secondary
#692218
accent
#4329FF
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000404
muted
#777979

Preview Lab

Preview with #021F23

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

Preview Lab → · Contrast checker → · Palette generator →

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