#2022A8#2022A8

#2022A8 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.0% C 0.203 H 270.2°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#2022A8
RGBrgb(32, 34, 168)
HSLhsl(239, 68%, 39%)
HSVhsv(239, 81%, 66%)
CMYKcmyk(81%, 79.8%, 0%, 34.1%)
CIE-LABlab(24.57, 46.37, -70.16)
CIE-LCHlch(24.57, 84.10, 303.46°)
OKLaboklab(36.97% 0.0007 -0.2032)
OKLCHoklch(36.97% 0.203 270.2)
XYZxyz(8.2332, 4.2773, 37.4299)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2022A8 #A8A620
analogous
#2066A8 #2022A8 #6220A8
triadic
#2022A8 #A82022 #22A820
tetradic
#2022A8 #A82066 #A8A620 #20A862
square
#2022A8 #A82066 #A8A620 #20A862
split-complementary
#2022A8 #A86220 #66A820
monochromatic
#0C0D41 #161875 #2022A8 #2E30D7 #6163E1

Accessibility & contrast

On white

11.32
#2022A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2022A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2022A8
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2022A8#FFFFFF#000000##FFFFFF
##2022A81.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AC
Deuteranopia (green-blind)
#0033A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2022a8;
/* rgb */ color: rgb(32, 34, 168);
/* oklch */ color: oklch(37.0% 0.203 270.2);
Tailwind
colors: {
  custom: {
    50: '#7660c3',
    500: '#2022a8',
    950: '#000000',
  },
}
SCSS
$custom: #2022a8;
$custom-light: #7660c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2022a8",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 239.118,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.36969,
    "c": 0.20317,
    "h": 270.2
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#2022A8
secondary
#C6C45E
accent
#E83DEB
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2022A8

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

Preview Lab → · Contrast checker → · Palette generator →

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