#2022AA#2022AA

#2022AA is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.2% C 0.206 H 270.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2022AA
RGBrgb(32, 34, 170)
HSLhsl(239, 68%, 40%)
HSVhsv(239, 81%, 67%)
CMYKcmyk(81.2%, 80%, 0%, 33.3%)
CIE-LABlab(24.80, 47.02, -70.98)
CIE-LCHlch(24.80, 85.14, 303.52°)
OKLaboklab(37.2% 0.0003 -0.2055)
OKLCHoklch(37.2% 0.206 270.1)
XYZxyz(8.4209, 4.3524, 38.4187)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2022AA #AAA820
analogous
#2067AA #2022AA #6320AA
triadic
#2022AA #AA2022 #22AA20
tetradic
#2022AA #AA2067 #AAA820 #20AA63
square
#2022AA #AA2067 #AAA820 #20AA63
split-complementary
#2022AA #AA6320 #67AA20
monochromatic
#0D0D43 #161876 #2022AA #2F32D8 #6365E2

Accessibility & contrast

On white

11.23
#2022AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2022AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2022AA#FFFFFF#000000##FFFFFF
##2022AA1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AE
Deuteranopia (green-blind)
#0034A8
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2022aa;
/* rgb */ color: rgb(32, 34, 170);
/* oklch */ color: oklch(37.2% 0.206 270.1);
Tailwind
colors: {
  custom: {
    50: '#7760c5',
    500: '#2022aa',
    950: '#000000',
  },
}
SCSS
$custom: #2022aa;
$custom-light: #7760c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2022aa",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 239.13,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37202,
    "c": 0.20554,
    "h": 270.1
  },
  "luminance": 0.04353
}

Semantic roles & 50–950 ramp

primary
#2022AA
secondary
#C7C55F
accent
#E93DEB
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2022AA

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

Preview Lab → · Contrast checker → · Palette generator →

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