#021C36#021C36

#021C36 is a very dark, moderate cyan. Relative luminance 0.011; OKLCH L 22.3% C 0.060 H 250.8°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#021C36
RGBrgb(2, 28, 54)
HSLhsl(210, 93%, 11%)
HSVhsv(210, 96%, 21%)
CMYKcmyk(96.3%, 48.1%, 0%, 78.8%)
CIE-LABlab(9.87, 1.78, -19.85)
CIE-LCHlch(9.87, 19.93, 275.12°)
OKLaboklab(22.32% -0.0198 -0.0568)
OKLCHoklch(22.32% 0.06 250.8)
XYZxyz(1.1059, 1.1096, 3.6452)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C36 #361C02
analogous
#023636 #021C36 #020236
triadic
#021C36 #36021C #1C3602
tetradic
#021C36 #360236 #361C02 #023602
square
#021C36 #360236 #361C02 #023602
split-complementary
#021C36 #360202 #363602
monochromatic
#010F1E #010F1E #021C36 #043B71 #0659AC

Accessibility & contrast

On white

17.18
#021C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021C36
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C36#FFFFFF#000000##FFFFFF
##021C361.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1E37
Deuteranopia (green-blind)
#061935
Tritanopia (blue-blind)
#002226
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #021c36;
/* rgb */ color: rgb(2, 28, 54);
/* oklch */ color: oklch(22.3% 0.060 250.8);
Tailwind
colors: {
  custom: {
    50: '#4c576d',
    500: '#021c36',
    950: '#000000',
  },
}
SCSS
$custom: #021c36;
$custom-light: #4c576d;
$custom-dark: #000000;
JSON
{
  "hex": "#021c36",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 54
  },
  "hsl": {
    "h": 210,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22319,
    "c": 0.06019,
    "h": 250.8
  },
  "luminance": 0.0111
}

Semantic roles & 50–950 ramp

primary
#021C36
secondary
#7A4A1A
accent
#9429FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010307
muted
#77787A

Preview Lab

Preview with #021C36

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

Preview Lab → · Contrast checker → · Palette generator →

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