#021E2F#021E2F

#021E2F is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 22.4% C 0.047 H 239.1°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#021E2F
RGBrgb(2, 30, 47)
HSLhsl(203, 92%, 10%)
HSVhsv(203, 96%, 18%)
CMYKcmyk(95.7%, 36.2%, 0%, 81.6%)
CIE-LABlab(10.16, -3.11, -14.33)
CIE-LCHlch(10.16, 14.67, 257.77°)
OKLaboklab(22.39% -0.0243 -0.0406)
OKLCHoklch(22.39% 0.047 239.1)
XYZxyz(1.0022, 1.1466, 2.8573)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021E2F #2F1302
analogous
#022F2A #021E2F #02072F
triadic
#021E2F #2F021E #1E2F02
tetradic
#021E2F #2A022F #2F1302 #072F02
square
#021E2F #2A022F #2F1302 #072F02
split-complementary
#021E2F #2F0207 #2F2A02
monochromatic
#01131D #01131D #021E2F #04436A #0769A4

Accessibility & contrast

On white

17.08
#021E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#021E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021E2F
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021E2F#FFFFFF#000000##FFFFFF
##021E2F1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E30
Deuteranopia (green-blind)
#0F1A2F
Tritanopia (blue-blind)
#002224
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #021e2f;
/* rgb */ color: rgb(2, 30, 47);
/* oklch */ color: oklch(22.4% 0.047 239.1);
Tailwind
colors: {
  custom: {
    50: '#4a5967',
    500: '#021e2f',
    950: '#000000',
  },
}
SCSS
$custom: #021e2f;
$custom-light: #4a5967;
$custom-dark: #000000;
JSON
{
  "hex": "#021e2f",
  "rgb": {
    "r": 2,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 202.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2239,
    "c": 0.04738,
    "h": 239.1
  },
  "luminance": 0.01147
}

Semantic roles & 50–950 ramp

primary
#021E2F
secondary
#743B19
accent
#7A29FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #021E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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