#2022BD#2022BD

#2022BD is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.4% C 0.227 H 269.1°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#2022BD
RGBrgb(32, 34, 189)
HSLhsl(239, 71%, 43%)
HSVhsv(239, 83%, 74%)
CMYKcmyk(83.1%, 82%, 0%, 25.9%)
CIE-LABlab(27.09, 53.05, -78.54)
CIE-LCHlch(27.09, 94.78, 304.04°)
OKLaboklab(39.45% -0.0035 -0.2274)
OKLCHoklch(39.45% 0.227 269.1)
XYZxyz(10.3499, 5.1240, 48.5778)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2022BD #BDBB20
analogous
#2070BD #2022BD #6D20BD
triadic
#2022BD #BD2022 #22BD20
tetradic
#2022BD #BD2070 #BDBB20 #20BD6D
square
#2022BD #BD2070 #BDBB20 #20BD6D
split-complementary
#2022BD #BD6D20 #70BD20
monochromatic
#0E0F54 #171989 #2022BD #3C3EDE #7172E7

Accessibility & contrast

On white

10.37
#2022BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2022BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2022BD
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2022BD#FFFFFF#000000##FFFFFF
##2022BD1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C1
Deuteranopia (green-blind)
#0038BA
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2022bd;
/* rgb */ color: rgb(32, 34, 189);
/* oklch */ color: oklch(39.4% 0.227 269.1);
Tailwind
colors: {
  custom: {
    50: '#7c61d2',
    500: '#2022bd',
    950: '#000000',
  },
}
SCSS
$custom: #2022bd;
$custom-light: #7c61d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2022bd",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 239.236,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39448,
    "c": 0.22745,
    "h": 269.1
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#2022BD
secondary
#CDCC6B
accent
#EC3AEE
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2022BD

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

Preview Lab → · Contrast checker → · Palette generator →

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