#020332#020332

#020332 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.5% C 0.092 H 267.6°. Best body text is #FFFFFF at 19.78:1 contrast (WCAG AA passes).

Color values

HEX#020332
RGBrgb(2, 3, 50)
HSLhsl(239, 92%, 10%)
HSVhsv(239, 96%, 20%)
CMYKcmyk(96%, 94%, 0%, 80.4%)
CIE-LABlab(2.78, 13.93, -28.31)
CIE-LCHlch(2.78, 31.55, 296.21°)
OKLaboklab(15.48% -0.0038 -0.0915)
OKLCHoklch(15.48% 0.092 267.6)
XYZxyz(0.6331, 0.3082, 3.0431)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020332 #323102
analogous
#021B32 #020332 #190232
triadic
#020332 #320203 #033202
tetradic
#020332 #32021B #323102 #023219
square
#020332 #32021B #323102 #023219
split-complementary
#020332 #321902 #1B3202
monochromatic
#01021D #01021D #020332 #04076D #070AA8

Accessibility & contrast

On white

19.78
#020332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#020332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020332
19.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020332#FFFFFF#000000##FFFFFF
##0203321.0019.781.0619.78
#FFFFFF19.781.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D33
Deuteranopia (green-blind)
#000831
Tritanopia (blue-blind)
#00111A
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #020332;
/* rgb */ color: rgb(2, 3, 50);
/* oklch */ color: oklch(15.5% 0.092 267.6);
Tailwind
colors: {
  custom: {
    50: '#4a476a',
    500: '#020332',
    950: '#000000',
  },
}
SCSS
$custom: #020332;
$custom-light: #4a476a;
$custom-dark: #000000;
JSON
{
  "hex": "#020332",
  "rgb": {
    "r": 2,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 238.75,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.15476,
    "c": 0.09156,
    "h": 267.6
  },
  "luminance": 0.00308
}

Semantic roles & 50–950 ramp

primary
#020332
secondary
#767419
accent
#FB29FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #020332

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

Preview Lab → · Contrast checker → · Palette generator →

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