#020832#020832

#020832 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.7% C 0.083 H 266.1°. Best body text is #FFFFFF at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#020832
RGBrgb(2, 8, 50)
HSLhsl(233, 92%, 10%)
HSVhsv(233, 96%, 20%)
CMYKcmyk(96%, 84%, 0%, 80.4%)
CIE-LABlab(3.76, 11.93, -26.74)
CIE-LCHlch(3.76, 29.28, 294.05°)
OKLaboklab(16.74% -0.0057 -0.083)
OKLCHoklch(16.74% 0.083 266.1)
XYZxyz(0.6874, 0.4168, 3.0612)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020832 #322C02
analogous
#022032 #020832 #140232
triadic
#020832 #320208 #083202
tetradic
#020832 #320220 #322C02 #023214
square
#020832 #320220 #322C02 #023214
split-complementary
#020832 #321402 #203202
monochromatic
#01051D #01051D #020832 #04116D #071BA8

Accessibility & contrast

On white

19.38
#020832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#020832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020832
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020832#FFFFFF#000000##FFFFFF
##0208321.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001033
Deuteranopia (green-blind)
#000B31
Tritanopia (blue-blind)
#00141C
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #020832;
/* rgb */ color: rgb(2, 8, 50);
/* oklch */ color: oklch(16.7% 0.083 266.1);
Tailwind
colors: {
  custom: {
    50: '#4a4a6a',
    500: '#020832',
    950: '#000000',
  },
}
SCSS
$custom: #020832;
$custom-light: #4a4a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#020832",
  "rgb": {
    "r": 2,
    "g": 8,
    "b": 50
  },
  "hsl": {
    "h": 232.5,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16743,
    "c": 0.08321,
    "h": 266.1
  },
  "luminance": 0.00417
}

Semantic roles & 50–950 ramp

primary
#020832
secondary
#766B19
accent
#E429FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #020832

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

Preview Lab → · Contrast checker → · Palette generator →

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