#020232#020232

#020232 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.2% C 0.093 H 267.8°. Best body text is #FFFFFF at 19.86:1 contrast (WCAG AA passes).

Color values

HEX#020232
RGBrgb(2, 2, 50)
HSLhsl(240, 92%, 10%)
HSVhsv(240, 96%, 20%)
CMYKcmyk(96%, 96%, 0%, 80.4%)
CIE-LABlab(2.59, 14.34, -28.62)
CIE-LCHlch(2.59, 32.01, 296.61°)
OKLaboklab(15.2% -0.0036 -0.0934)
OKLCHoklch(15.2% 0.093 267.8)
XYZxyz(0.6223, 0.2865, 3.0395)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020232 #323202
analogous
#021A32 #020232 #1A0232
triadic
#020232 #320202 #023202
tetradic
#020232 #32021A #323202 #02321A
square
#020232 #32021A #323202 #02321A
split-complementary
#020232 #321A02 #1A3202
monochromatic
#01011D #01011D #020232 #04046D #0707A8

Accessibility & contrast

On white

19.86
#020232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020232
19.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020232#FFFFFF#000000##FFFFFF
##0202321.0019.861.0619.86
#FFFFFF19.861.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C33
Deuteranopia (green-blind)
#000731
Tritanopia (blue-blind)
#00101A
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #020232;
/* rgb */ color: rgb(2, 2, 50);
/* oklch */ color: oklch(15.2% 0.093 267.8);
Tailwind
colors: {
  custom: {
    50: '#4a476a',
    500: '#020232',
    950: '#000000',
  },
}
SCSS
$custom: #020232;
$custom-light: #4a476a;
$custom-dark: #000000;
JSON
{
  "hex": "#020232",
  "rgb": {
    "r": 2,
    "g": 2,
    "b": 50
  },
  "hsl": {
    "h": 240,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.15197,
    "c": 0.09344,
    "h": 267.8
  },
  "luminance": 0.00287
}

Semantic roles & 50–950 ramp

primary
#020232
secondary
#767619
accent
#FF29FF
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #020232

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

Preview Lab → · Contrast checker → · Palette generator →

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