#2122A4#2122A4

#2122A4 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.6% C 0.198 H 270.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#2122A4
RGBrgb(33, 34, 164)
HSLhsl(240, 66%, 39%)
HSVhsv(240, 80%, 64%)
CMYKcmyk(79.9%, 79.3%, 0%, 35.7%)
CIE-LABlab(24.15, 45.12, -68.43)
CIE-LCHlch(24.15, 81.96, 303.40°)
OKLaboklab(36.56% 0.0025 -0.1981)
OKLCHoklch(36.56% 0.198 270.7)
XYZxyz(7.8978, 4.1468, 35.4989)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2122A4 #A4A321
analogous
#2163A4 #2122A4 #6121A4
triadic
#2122A4 #A42122 #22A421
tetradic
#2122A4 #A42163 #A4A321 #21A461
square
#2122A4 #A42163 #A4A321 #21A461
split-complementary
#2122A4 #A46121 #63A421
monochromatic
#0C0D3E #171771 #2122A4 #2D2FD5 #6061DF

Accessibility & contrast

On white

11.48
#2122A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2122A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2122A4
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2122A4#FFFFFF#000000##FFFFFF
##2122A41.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A8
Deuteranopia (green-blind)
#0033A2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2122a4;
/* rgb */ color: rgb(33, 34, 164);
/* oklch */ color: oklch(36.6% 0.198 270.7);
Tailwind
colors: {
  custom: {
    50: '#7560c0',
    500: '#2122a4',
    950: '#000000',
  },
}
SCSS
$custom: #2122a4;
$custom-light: #7560c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2122a4",
  "rgb": {
    "r": 33,
    "g": 34,
    "b": 164
  },
  "hsl": {
    "h": 239.542,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36555,
    "c": 0.19815,
    "h": 270.7
  },
  "luminance": 0.04148
}

Semantic roles & 50–950 ramp

primary
#2122A4
secondary
#C4C35D
accent
#E83EE9
background
#F7F5FC
surface
#EEE9F8
border
#C9C5D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2122A4

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

Preview Lab → · Contrast checker → · Palette generator →

#2122A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva