#021E2B#021E2B

#021E2B is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 22.1% C 0.042 H 231.9°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#021E2B
RGBrgb(2, 30, 43)
HSLhsl(199, 91%, 9%)
HSVhsv(199, 95%, 17%)
CMYKcmyk(95.3%, 30.2%, 0%, 83.1%)
CIE-LABlab(9.92, -4.97, -11.78)
CIE-LCHlch(9.92, 12.79, 247.13°)
OKLaboklab(22.12% -0.0261 -0.0332)
OKLCHoklch(22.12% 0.042 231.9)
XYZxyz(0.9252, 1.1158, 2.4516)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021E2B #2B0F02
analogous
#022B24 #021E2B #020A2B
triadic
#021E2B #2B021E #1E2B02
tetradic
#021E2B #24022B #2B0F02 #0A2B02
square
#021E2B #24022B #2B0F02 #0A2B02
split-complementary
#021E2B #2B020A #2B2402
monochromatic
#01141D #01141D #021E2B #054765 #0770A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##021E2B#FFFFFF#000000##FFFFFF
##021E2B1.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)
#171E2C
Deuteranopia (green-blind)
#121A2B
Tritanopia (blue-blind)
#002222
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #021e2b;
/* rgb */ color: rgb(2, 30, 43);
/* oklch */ color: oklch(22.1% 0.042 231.9);
Tailwind
colors: {
  custom: {
    50: '#495964',
    500: '#021e2b',
    950: '#000000',
  },
}
SCSS
$custom: #021e2b;
$custom-light: #495964;
$custom-dark: #000000;
JSON
{
  "hex": "#021e2b",
  "rgb": {
    "r": 2,
    "g": 30,
    "b": 43
  },
  "hsl": {
    "h": 199.024,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.22124,
    "c": 0.04225,
    "h": 231.9
  },
  "luminance": 0.01116
}

Semantic roles & 50–950 ramp

primary
#021E2B
secondary
#703419
accent
#6D29FF
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #021E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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