#021B2A#021B2A

#021B2A is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.1% C 0.043 H 238.0°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#021B2A
RGBrgb(2, 27, 42)
HSLhsl(203, 91%, 9%)
HSVhsv(203, 95%, 16%)
CMYKcmyk(95.2%, 35.7%, 0%, 83.5%)
CIE-LABlab(8.69, -3.25, -12.98)
CIE-LCHlch(8.69, 13.38, 255.95°)
OKLaboklab(21.12% -0.023 -0.0368)
OKLCHoklch(21.12% 0.043 238)
XYZxyz(0.8347, 0.9638, 2.3321)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B2A #2A1102
analogous
#022A25 #021B2A #02072A
triadic
#021B2A #2A021B #1B2A02
tetradic
#021B2A #25022A #2A1102 #072A02
square
#021B2A #25022A #2A1102 #072A02
split-complementary
#021B2A #2A0207 #2A2502
monochromatic
#01131D #01131D #021B2A #054164 #08669F

Accessibility & contrast

On white

17.61
#021B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021B2A
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B2A#FFFFFF#000000##FFFFFF
##021B2A1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141B2B
Deuteranopia (green-blind)
#0E172A
Tritanopia (blue-blind)
#001F20
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021b2a;
/* rgb */ color: rgb(2, 27, 42);
/* oklch */ color: oklch(21.1% 0.043 238.0);
Tailwind
colors: {
  custom: {
    50: '#485763',
    500: '#021b2a',
    950: '#000000',
  },
}
SCSS
$custom: #021b2a;
$custom-light: #485763;
$custom-dark: #000000;
JSON
{
  "hex": "#021b2a",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 42
  },
  "hsl": {
    "h": 202.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.21121,
    "c": 0.04336,
    "h": 238
  },
  "luminance": 0.00964
}

Semantic roles & 50–950 ramp

primary
#021B2A
secondary
#6F3919
accent
#7929FF
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #021B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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