#021E2A#021E2A

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

Color values

HEX#021E2A
RGBrgb(2, 30, 42)
HSLhsl(198, 91%, 9%)
HSVhsv(198, 95%, 16%)
CMYKcmyk(95.2%, 28.6%, 0%, 83.5%)
CIE-LABlab(9.86, -5.43, -11.14)
CIE-LCHlch(9.86, 12.39, 244.02°)
OKLaboklab(22.06% -0.0265 -0.0314)
OKLCHoklch(22.06% 0.041 229.8)
XYZxyz(0.9071, 1.1085, 2.3562)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021E2A #2A0E02
analogous
#022A22 #021E2A #020A2A
triadic
#021E2A #2A021E #1E2A02
tetradic
#021E2A #22022A #2A0E02 #0A2A02
square
#021E2A #22022A #2A0E02 #0A2A02
split-complementary
#021E2A #2A020A #2A2202
monochromatic
#01151D #01151D #021E2A #054864 #08719F

Accessibility & contrast

On white

17.19
#021E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021E2A
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021E2A#FFFFFF#000000##FFFFFF
##021E2A1.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181D2B
Deuteranopia (green-blind)
#12192A
Tritanopia (blue-blind)
#002122
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #021e2a;
/* rgb */ color: rgb(2, 30, 42);
/* oklch */ color: oklch(22.1% 0.041 229.8);
Tailwind
colors: {
  custom: {
    50: '#495963',
    500: '#021e2a',
    950: '#000000',
  },
}
SCSS
$custom: #021e2a;
$custom-light: #495963;
$custom-dark: #000000;
JSON
{
  "hex": "#021e2a",
  "rgb": {
    "r": 2,
    "g": 30,
    "b": 42
  },
  "hsl": {
    "h": 198,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.2206,
    "c": 0.04109,
    "h": 229.8
  },
  "luminance": 0.01109
}

Semantic roles & 50–950 ramp

primary
#021E2A
secondary
#6F3319
accent
#6929FF
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #021E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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