#2122A8#2122A8

#2122A8 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.0% C 0.203 H 270.5°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2122A8
RGBrgb(33, 34, 168)
HSLhsl(240, 67%, 39%)
HSVhsv(240, 80%, 66%)
CMYKcmyk(80.4%, 79.8%, 0%, 34.1%)
CIE-LABlab(24.62, 46.43, -70.07)
CIE-LCHlch(24.62, 84.06, 303.53°)
OKLaboklab(37.02% 0.0017 -0.2029)
OKLCHoklch(37.02% 0.203 270.5)
XYZxyz(8.2647, 4.2936, 37.4314)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2122A8 #A8A721
analogous
#2165A8 #2122A8 #6421A8
triadic
#2122A8 #A82122 #22A821
tetradic
#2122A8 #A82165 #A8A721 #21A864
square
#2122A8 #A82165 #A8A721 #21A864
split-complementary
#2122A8 #A86421 #65A821
monochromatic
#0D0D42 #171875 #2122A8 #3031D6 #6364E0

Accessibility & contrast

On white

11.30
#2122A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2122A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2122A8#FFFFFF#000000##FFFFFF
##2122A81.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AC
Deuteranopia (green-blind)
#0033A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2122a8;
/* rgb */ color: rgb(33, 34, 168);
/* oklch */ color: oklch(37.0% 0.203 270.5);
Tailwind
colors: {
  custom: {
    50: '#7660c3',
    500: '#2122a8',
    950: '#000000',
  },
}
SCSS
$custom: #2122a8;
$custom-light: #7660c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2122a8",
  "rgb": {
    "r": 33,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 239.556,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37019,
    "c": 0.20291,
    "h": 270.5
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2122A8

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

Preview Lab → · Contrast checker → · Palette generator →

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