#2122A9#2122A9

#2122A9 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.1% C 0.204 H 270.4°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2122A9
RGBrgb(33, 34, 169)
HSLhsl(240, 67%, 40%)
HSVhsv(240, 80%, 66%)
CMYKcmyk(80.5%, 79.9%, 0%, 33.7%)
CIE-LABlab(24.74, 46.76, -70.48)
CIE-LCHlch(24.74, 84.58, 303.56°)
OKLaboklab(37.14% 0.0015 -0.2041)
OKLCHoklch(37.14% 0.204 270.4)
XYZxyz(8.3582, 4.3310, 37.9239)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2122A9 #A9A821
analogous
#2166A9 #2122A9 #6421A9
triadic
#2122A9 #A92122 #22A921
tetradic
#2122A9 #A92166 #A9A821 #21A964
square
#2122A9 #A92166 #A9A821 #21A964
split-complementary
#2122A9 #A96421 #66A921
monochromatic
#0D0D43 #171876 #2122A9 #3132D7 #6465E1

Accessibility & contrast

On white

11.25
#2122A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2122A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2122A9
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2122A9#FFFFFF#000000##FFFFFF
##2122A91.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2122a9;
/* rgb */ color: rgb(33, 34, 169);
/* oklch */ color: oklch(37.1% 0.204 270.4);
Tailwind
colors: {
  custom: {
    50: '#7760c4',
    500: '#2122a9',
    950: '#000000',
  },
}
SCSS
$custom: #2122a9;
$custom-light: #7760c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2122a9",
  "rgb": {
    "r": 33,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 239.559,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37135,
    "c": 0.2041,
    "h": 270.4
  },
  "luminance": 0.04332
}

Semantic roles & 50–950 ramp

primary
#2122A9
secondary
#C6C560
accent
#E93EEA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2122A9

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

Preview Lab → · Contrast checker → · Palette generator →

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