#020132#020132

#020132 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.9% C 0.095 H 267.9°. Best body text is #FFFFFF at 19.94:1 contrast (WCAG AA passes).

Color values

HEX#020132
RGBrgb(2, 1, 50)
HSLhsl(241, 96%, 10%)
HSVhsv(241, 98%, 20%)
CMYKcmyk(96%, 98%, 0%, 80.4%)
CIE-LABlab(2.39, 14.74, -28.94)
CIE-LCHlch(2.39, 32.47, 296.99°)
OKLaboklab(14.91% -0.0035 -0.0953)
OKLCHoklch(14.91% 0.095 267.9)
XYZxyz(0.6114, 0.2648, 3.0359)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020132 #313201
analogous
#011932 #020132 #1A0132
triadic
#020132 #320201 #013202
tetradic
#020132 #320119 #313201 #01321A
square
#020132 #320119 #313201 #01321A
split-complementary
#020132 #321A01 #193201
monochromatic
#01011E #01011E #020132 #04026E #0703AA

Accessibility & contrast

On white

19.94
#020132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#020132 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020132
19.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020132#FFFFFF#000000##FFFFFF
##0201321.0019.941.0519.94
#FFFFFF19.941.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B33
Deuteranopia (green-blind)
#000631
Tritanopia (blue-blind)
#000F19
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #020132;
/* rgb */ color: rgb(2, 1, 50);
/* oklch */ color: oklch(14.9% 0.095 267.9);
Tailwind
colors: {
  custom: {
    50: '#4a476a',
    500: '#020132',
    950: '#000000',
  },
}
SCSS
$custom: #020132;
$custom-light: #4a476a;
$custom-dark: #000000;
JSON
{
  "hex": "#020132",
  "rgb": {
    "r": 2,
    "g": 1,
    "b": 50
  },
  "hsl": {
    "h": 241.224,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.14906,
    "c": 0.0954,
    "h": 267.9
  },
  "luminance": 0.00265
}

Semantic roles & 50–950 ramp

primary
#020132
secondary
#757717
accent
#FF29FB
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #020132

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

Preview Lab → · Contrast checker → · Palette generator →

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