#2022A7#2022A7

#2022A7 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.9% C 0.202 H 270.2°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#2022A7
RGBrgb(32, 34, 167)
HSLhsl(239, 68%, 39%)
HSVhsv(239, 81%, 65%)
CMYKcmyk(80.8%, 79.6%, 0%, 34.5%)
CIE-LABlab(24.45, 46.04, -69.75)
CIE-LCHlch(24.45, 83.58, 303.43°)
OKLaboklab(36.85% 0.0009 -0.202)
OKLCHoklch(36.85% 0.202 270.2)
XYZxyz(8.1404, 4.2402, 36.9411)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2022A7 #A7A520
analogous
#2066A7 #2022A7 #6220A7
triadic
#2022A7 #A72022 #22A720
tetradic
#2022A7 #A72066 #A7A520 #20A762
square
#2022A7 #A72066 #A7A520 #20A762
split-complementary
#2022A7 #A76220 #66A720
monochromatic
#0C0D40 #161874 #2022A7 #2D30D7 #6163E1

Accessibility & contrast

On white

11.36
#2022A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2022A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2022A7
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2022A7#FFFFFF#000000##FFFFFF
##2022A71.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AB
Deuteranopia (green-blind)
#0033A5
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2022a7;
/* rgb */ color: rgb(32, 34, 167);
/* oklch */ color: oklch(36.9% 0.202 270.2);
Tailwind
colors: {
  custom: {
    50: '#7660c3',
    500: '#2022a7',
    950: '#000000',
  },
}
SCSS
$custom: #2022a7;
$custom-light: #7660c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2022a7",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 239.111,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36852,
    "c": 0.20199,
    "h": 270.2
  },
  "luminance": 0.04241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2022A7

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

Preview Lab → · Contrast checker → · Palette generator →

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