#021732#021732

#021732 is a very dark, moderate cyan. Relative luminance 0.009; OKLCH L 20.6% C 0.061 H 254.6°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#021732
RGBrgb(2, 23, 50)
HSLhsl(214, 92%, 10%)
HSVhsv(214, 96%, 20%)
CMYKcmyk(96%, 54%, 0%, 80.4%)
CIE-LABlab(7.73, 3.76, -20.38)
CIE-LCHlch(7.73, 20.72, 280.45°)
OKLaboklab(20.55% -0.0161 -0.0585)
OKLCHoklch(20.55% 0.061 254.6)
XYZxyz(0.9069, 0.8559, 3.1344)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021732 #321D02
analogous
#022F32 #021732 #050232
triadic
#021732 #320217 #173202
tetradic
#021732 #32022F #321D02 #023205
square
#021732 #32022F #321D02 #023205
split-complementary
#021732 #320502 #2F3202
monochromatic
#010E1D #010E1D #021732 #04326D #074DA8

Accessibility & contrast

On white

17.93
#021732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#021732 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021732
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021732#FFFFFF#000000##FFFFFF
##0217321.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081933
Deuteranopia (green-blind)
#011531
Tritanopia (blue-blind)
#001E22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021732;
/* rgb */ color: rgb(2, 23, 50);
/* oklch */ color: oklch(20.6% 0.061 254.6);
Tailwind
colors: {
  custom: {
    50: '#4b536a',
    500: '#021732',
    950: '#000000',
  },
}
SCSS
$custom: #021732;
$custom-light: #4b536a;
$custom-dark: #000000;
JSON
{
  "hex": "#021732",
  "rgb": {
    "r": 2,
    "g": 23,
    "b": 50
  },
  "hsl": {
    "h": 213.75,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20551,
    "c": 0.06072,
    "h": 254.6
  },
  "luminance": 0.00856
}

Semantic roles & 50–950 ramp

primary
#021732
secondary
#764E19
accent
#A129FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #021732

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

Preview Lab → · Contrast checker → · Palette generator →

#021732 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva