#021132#021132

#021132 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.070 H 261.0°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#021132
RGBrgb(2, 17, 50)
HSLhsl(221, 92%, 10%)
HSVhsv(221, 96%, 20%)
CMYKcmyk(96%, 66%, 0%, 80.4%)
CIE-LABlab(5.82, 7.74, -23.45)
CIE-LCHlch(5.82, 24.69, 288.26°)
OKLaboklab(18.9% -0.011 -0.0689)
OKLCHoklch(18.9% 0.07 261)
XYZxyz(0.8010, 0.6440, 3.0991)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021132 #322302
analogous
#022932 #021132 #0B0232
triadic
#021132 #320211 #113202
tetradic
#021132 #320229 #322302 #02320B
square
#021132 #320229 #322302 #02320B
split-complementary
#021132 #320B02 #293202
monochromatic
#010A1D #010A1D #021132 #04256D #0739A8

Accessibility & contrast

On white

18.60
#021132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#021132 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021132
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021132#FFFFFF#000000##FFFFFF
##0211321.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#001131
Tritanopia (blue-blind)
#00191F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #021132;
/* rgb */ color: rgb(2, 17, 50);
/* oklch */ color: oklch(18.9% 0.070 261.0);
Tailwind
colors: {
  custom: {
    50: '#4b4f6a',
    500: '#021132',
    950: '#000000',
  },
}
SCSS
$custom: #021132;
$custom-light: #4b4f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#021132",
  "rgb": {
    "r": 2,
    "g": 17,
    "b": 50
  },
  "hsl": {
    "h": 221.25,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18904,
    "c": 0.06979,
    "h": 261
  },
  "luminance": 0.00644
}

Semantic roles & 50–950 ramp

primary
#021132
secondary
#765919
accent
#BC29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #021132

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

Preview Lab → · Contrast checker → · Palette generator →

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