#021B2B#021B2B

#021B2B is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.2% C 0.045 H 239.7°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#021B2B
RGBrgb(2, 27, 43)
HSLhsl(203, 91%, 9%)
HSVhsv(203, 95%, 17%)
CMYKcmyk(95.3%, 37.2%, 0%, 83.1%)
CIE-LABlab(8.75, -2.78, -13.62)
CIE-LCHlch(8.75, 13.90, 258.48°)
OKLaboklab(21.19% -0.0226 -0.0386)
OKLCHoklch(21.19% 0.045 239.7)
XYZxyz(0.8528, 0.9711, 2.4275)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B2B #2B1202
analogous
#022B27 #021B2B #02072B
triadic
#021B2B #2B021B #1B2B02
tetradic
#021B2B #27022B #2B1202 #072B02
square
#021B2B #27022B #2B1202 #072B02
split-complementary
#021B2B #2B0207 #2B2702
monochromatic
#01121D #01121D #021B2B #054065 #0764A0

Accessibility & contrast

On white

17.58
#021B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#021B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021B2B
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B2B#FFFFFF#000000##FFFFFF
##021B2B1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021b2b;
/* rgb */ color: rgb(2, 27, 43);
/* oklch */ color: oklch(21.2% 0.045 239.7);
Tailwind
colors: {
  custom: {
    50: '#495764',
    500: '#021b2b',
    950: '#000000',
  },
}
SCSS
$custom: #021b2b;
$custom-light: #495764;
$custom-dark: #000000;
JSON
{
  "hex": "#021b2b",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 43
  },
  "hsl": {
    "h": 203.415,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.2119,
    "c": 0.04475,
    "h": 239.7
  },
  "luminance": 0.00971
}

Semantic roles & 50–950 ramp

primary
#021B2B
secondary
#703B19
accent
#7C29FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010305
muted
#77787A

Preview Lab

Preview with #021B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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