#021C2B#021C2B

#021C2B is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.5% C 0.044 H 237.2°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#021C2B
RGBrgb(2, 28, 43)
HSLhsl(202, 91%, 9%)
HSVhsv(202, 95%, 17%)
CMYKcmyk(95.3%, 34.9%, 0%, 83.1%)
CIE-LABlab(9.14, -3.51, -13.01)
CIE-LCHlch(9.14, 13.47, 254.88°)
OKLaboklab(21.5% -0.0237 -0.0368)
OKLCHoklch(21.5% 0.044 237.2)
XYZxyz(0.8762, 1.0177, 2.4353)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C2B #2B1102
analogous
#022B26 #021C2B #02082B
triadic
#021C2B #2B021C #1C2B02
tetradic
#021C2B #26022B #2B1102 #082B02
square
#021C2B #26022B #2B1102 #082B02
split-complementary
#021C2B #2B0208 #2B2602
monochromatic
#01131D #01131D #021C2B #054265 #0768A0

Accessibility & contrast

On white

17.45
#021C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#021C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021C2B
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C2B#FFFFFF#000000##FFFFFF
##021C2B1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151C2C
Deuteranopia (green-blind)
#0F182B
Tritanopia (blue-blind)
#002021
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021c2b;
/* rgb */ color: rgb(2, 28, 43);
/* oklch */ color: oklch(21.5% 0.044 237.2);
Tailwind
colors: {
  custom: {
    50: '#495764',
    500: '#021c2b',
    950: '#000000',
  },
}
SCSS
$custom: #021c2b;
$custom-light: #495764;
$custom-dark: #000000;
JSON
{
  "hex": "#021c2b",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 43
  },
  "hsl": {
    "h": 201.951,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.215,
    "c": 0.04381,
    "h": 237.2
  },
  "luminance": 0.01018
}

Semantic roles & 50–950 ramp

primary
#021C2B
secondary
#703919
accent
#7729FF
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #021C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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