#021832#021832

#021832 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.8% C 0.059 H 253.3°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#021832
RGBrgb(2, 24, 50)
HSLhsl(213, 92%, 10%)
HSVhsv(213, 96%, 20%)
CMYKcmyk(96%, 52%, 0%, 80.4%)
CIE-LABlab(8.10, 2.97, -19.79)
CIE-LCHlch(8.10, 20.02, 278.54°)
OKLaboklab(20.84% -0.017 -0.0568)
OKLCHoklch(20.84% 0.059 253.3)
XYZxyz(0.9272, 0.8963, 3.1411)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021832 #321C02
analogous
#023032 #021832 #040232
triadic
#021832 #320218 #183202
tetradic
#021832 #320230 #321C02 #023204
square
#021832 #320230 #321C02 #023204
split-complementary
#021832 #320402 #303202
monochromatic
#010E1D #010E1D #021832 #04346D #0750A8

Accessibility & contrast

On white

17.81
#021832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#021832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021832
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021832#FFFFFF#000000##FFFFFF
##0218321.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1A33
Deuteranopia (green-blind)
#031631
Tritanopia (blue-blind)
#001E22
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #021832;
/* rgb */ color: rgb(2, 24, 50);
/* oklch */ color: oklch(20.8% 0.059 253.3);
Tailwind
colors: {
  custom: {
    50: '#4b546a',
    500: '#021832',
    950: '#000000',
  },
}
SCSS
$custom: #021832;
$custom-light: #4b546a;
$custom-dark: #000000;
JSON
{
  "hex": "#021832",
  "rgb": {
    "r": 2,
    "g": 24,
    "b": 50
  },
  "hsl": {
    "h": 212.5,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20837,
    "c": 0.05929,
    "h": 253.3
  },
  "luminance": 0.00896
}

Semantic roles & 50–950 ramp

primary
#021832
secondary
#764C19
accent
#9D29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #021832

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

Preview Lab → · Contrast checker → · Palette generator →

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