#021B2C#021B2C

#021B2C is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.3% C 0.046 H 241.3°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#021B2C
RGBrgb(2, 27, 44)
HSLhsl(204, 91%, 9%)
HSVhsv(204, 95%, 17%)
CMYKcmyk(95.5%, 38.6%, 0%, 82.7%)
CIE-LABlab(8.81, -2.30, -14.26)
CIE-LCHlch(8.81, 14.44, 260.85°)
OKLaboklab(21.26% -0.0222 -0.0405)
OKLCHoklch(21.26% 0.046 241.3)
XYZxyz(0.8714, 0.9785, 2.5253)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B2C #2C1302
analogous
#022C28 #021B2C #02062C
triadic
#021B2C #2C021B #1B2C02
tetradic
#021B2C #28022C #2C1302 #062C02
square
#021B2C #28022C #2C1302 #062C02
split-complementary
#021B2C #2C0206 #2C2802
monochromatic
#01121D #01121D #021B2C #053F67 #0763A1

Accessibility & contrast

On white

17.56
#021B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021B2C
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B2C#FFFFFF#000000##FFFFFF
##021B2C1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131B2D
Deuteranopia (green-blind)
#0D172C
Tritanopia (blue-blind)
#001F21
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021b2c;
/* rgb */ color: rgb(2, 27, 44);
/* oklch */ color: oklch(21.3% 0.046 241.3);
Tailwind
colors: {
  custom: {
    50: '#495765',
    500: '#021b2c',
    950: '#000000',
  },
}
SCSS
$custom: #021b2c;
$custom-light: #495765;
$custom-dark: #000000;
JSON
{
  "hex": "#021b2c",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 44
  },
  "hsl": {
    "h": 204.286,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.21261,
    "c": 0.04617,
    "h": 241.3
  },
  "luminance": 0.00979
}

Semantic roles & 50–950 ramp

primary
#021B2C
secondary
#713D19
accent
#8029FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010305
muted
#77787A

Preview Lab

Preview with #021B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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