#2122AA#2122AA

#2122AA is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.3% C 0.205 H 270.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2122AA
RGBrgb(33, 34, 170)
HSLhsl(240, 67%, 40%)
HSVhsv(240, 81%, 67%)
CMYKcmyk(80.6%, 80%, 0%, 33.3%)
CIE-LABlab(24.85, 47.08, -70.89)
CIE-LCHlch(24.85, 85.10, 303.59°)
OKLaboklab(37.25% 0.0013 -0.2053)
OKLCHoklch(37.25% 0.205 270.4)
XYZxyz(8.4525, 4.3687, 38.4202)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2122AA #AAA921
analogous
#2167AA #2122AA #6521AA
triadic
#2122AA #AA2122 #22AA21
tetradic
#2122AA #AA2167 #AAA921 #21AA65
square
#2122AA #AA2167 #AAA921 #21AA65
split-complementary
#2122AA #AA6521 #67AA21
monochromatic
#0D0D43 #171877 #2122AA #3132D7 #6465E1

Accessibility & contrast

On white

11.21
#2122AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2122AA#FFFFFF#000000##FFFFFF
##2122AA1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.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: #2122aa;
/* rgb */ color: rgb(33, 34, 170);
/* oklch */ color: oklch(37.3% 0.205 270.4);
Tailwind
colors: {
  custom: {
    50: '#7760c5',
    500: '#2122aa',
    950: '#000000',
  },
}
SCSS
$custom: #2122aa;
$custom-light: #7760c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2122aa",
  "rgb": {
    "r": 33,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 239.562,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37252,
    "c": 0.20527,
    "h": 270.4
  },
  "luminance": 0.0437
}

Semantic roles & 50–950 ramp

primary
#2122AA
secondary
#C6C561
accent
#E93DEA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2122AA

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

Preview Lab → · Contrast checker → · Palette generator →

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