#021B32#021B32

#021B32 is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.7% C 0.055 H 248.8°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#021B32
RGBrgb(2, 27, 50)
HSLhsl(209, 92%, 10%)
HSVhsv(209, 96%, 20%)
CMYKcmyk(96%, 46%, 0%, 80.4%)
CIE-LABlab(9.21, 0.61, -18.01)
CIE-LCHlch(9.21, 18.02, 271.93°)
OKLaboklab(21.71% -0.02 -0.0515)
OKLCHoklch(21.71% 0.055 248.8)
XYZxyz(0.9925, 1.0269, 3.1629)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B32 #321902
analogous
#023231 #021B32 #020332
triadic
#021B32 #32021B #1B3202
tetradic
#021B32 #310232 #321902 #033202
square
#021B32 #310232 #321902 #033202
split-complementary
#021B32 #320203 #323102
monochromatic
#01101D #01101D #021B32 #043B6D #075BA8

Accessibility & contrast

On white

17.42
#021B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021B32
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B32#FFFFFF#000000##FFFFFF
##021B321.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101C33
Deuteranopia (green-blind)
#081832
Tritanopia (blue-blind)
#002124
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021b32;
/* rgb */ color: rgb(2, 27, 50);
/* oklch */ color: oklch(21.7% 0.055 248.8);
Tailwind
colors: {
  custom: {
    50: '#4b566a',
    500: '#021b32',
    950: '#000000',
  },
}
SCSS
$custom: #021b32;
$custom-light: #4b566a;
$custom-dark: #000000;
JSON
{
  "hex": "#021b32",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 50
  },
  "hsl": {
    "h": 208.75,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2171,
    "c": 0.05521,
    "h": 248.8
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

primary
#021B32
secondary
#764619
accent
#8F29FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #021B32

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

Preview Lab → · Contrast checker → · Palette generator →

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