#021C2F#021C2F

#021C2F is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.8% C 0.049 H 243.4°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#021C2F
RGBrgb(2, 28, 47)
HSLhsl(205, 92%, 10%)
HSVhsv(205, 96%, 18%)
CMYKcmyk(95.7%, 40.4%, 0%, 81.6%)
CIE-LABlab(9.39, -1.61, -15.54)
CIE-LCHlch(9.39, 15.63, 264.08°)
OKLaboklab(21.78% -0.0221 -0.0442)
OKLCHoklch(21.78% 0.049 243.4)
XYZxyz(0.9532, 1.0485, 2.8409)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C2F #2F1502
analogous
#022F2C #021C2F #02062F
triadic
#021C2F #2F021C #1C2F02
tetradic
#021C2F #2C022F #2F1502 #062F02
square
#021C2F #2C022F #2F1502 #062F02
split-complementary
#021C2F #2F0206 #2F2C02
monochromatic
#01111D #01111D #021C2F #043F6A #0762A4

Accessibility & contrast

On white

17.36
#021C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#021C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021C2F
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C2F#FFFFFF#000000##FFFFFF
##021C2F1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131D30
Deuteranopia (green-blind)
#0C182F
Tritanopia (blue-blind)
#002123
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021c2f;
/* rgb */ color: rgb(2, 28, 47);
/* oklch */ color: oklch(21.8% 0.049 243.4);
Tailwind
colors: {
  custom: {
    50: '#4a5767',
    500: '#021c2f',
    950: '#000000',
  },
}
SCSS
$custom: #021c2f;
$custom-light: #4a5767;
$custom-dark: #000000;
JSON
{
  "hex": "#021c2f",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 47
  },
  "hsl": {
    "h": 205.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21782,
    "c": 0.04944,
    "h": 243.4
  },
  "luminance": 0.01049
}

Semantic roles & 50–950 ramp

primary
#021C2F
secondary
#743F19
accent
#8329FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #021C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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