#2022B1#2022B1

#2022B1 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.214 H 269.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#2022B1
RGBrgb(32, 34, 177)
HSLhsl(239, 69%, 41%)
HSVhsv(239, 82%, 69%)
CMYKcmyk(81.9%, 80.8%, 0%, 30.6%)
CIE-LABlab(25.64, 49.28, -73.80)
CIE-LCHlch(25.64, 88.74, 303.73°)
OKLaboklab(38.02% -0.0011 -0.2137)
OKLCHoklch(38.02% 0.214 269.7)
XYZxyz(9.1008, 4.6244, 41.9994)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2022B1 #B1AF20
analogous
#206AB1 #2022B1 #6620B1
triadic
#2022B1 #B12022 #22B120
tetradic
#2022B1 #B1206A #B1AF20 #20B166
square
#2022B1 #B1206A #B1AF20 #20B166
split-complementary
#2022B1 #B16620 #6AB120
monochromatic
#0D0E49 #17187D #2022B1 #3436DA #6869E4

Accessibility & contrast

On white

10.91
#2022B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2022B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2022B1
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2022B1#FFFFFF#000000##FFFFFF
##2022B11.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B5
Deuteranopia (green-blind)
#0035AF
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2022b1;
/* rgb */ color: rgb(32, 34, 177);
/* oklch */ color: oklch(38.0% 0.214 269.7);
Tailwind
colors: {
  custom: {
    50: '#7861ca',
    500: '#2022b1',
    950: '#000000',
  },
}
SCSS
$custom: #2022b1;
$custom-light: #7861ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2022b1",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 177
  },
  "hsl": {
    "h": 239.172,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38024,
    "c": 0.21371,
    "h": 269.7
  },
  "luminance": 0.04625
}

Semantic roles & 50–950 ramp

primary
#2022B1
secondary
#C9C864
accent
#EA3CEC
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2022B1

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

Preview Lab → · Contrast checker → · Palette generator →

#2022B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva