#2122A6#2122A6

#2122A6 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.8% C 0.201 H 270.6°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#2122A6
RGBrgb(33, 34, 166)
HSLhsl(240, 67%, 39%)
HSVhsv(240, 80%, 65%)
CMYKcmyk(80.1%, 79.5%, 0%, 34.9%)
CIE-LABlab(24.38, 45.78, -69.25)
CIE-LCHlch(24.38, 83.01, 303.47°)
OKLaboklab(36.79% 0.0021 -0.2005)
OKLCHoklch(36.79% 0.201 270.6)
XYZxyz(8.0798, 4.2196, 36.4576)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2122A6 #A6A521
analogous
#2165A6 #2122A6 #6321A6
triadic
#2122A6 #A62122 #22A621
tetradic
#2122A6 #A62165 #A6A521 #21A663
square
#2122A6 #A62165 #A6A521 #21A663
split-complementary
#2122A6 #A66321 #65A621
monochromatic
#0D0D40 #171873 #2122A6 #2F30D6 #6263E0

Accessibility & contrast

On white

11.39
#2122A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2122A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2122A6#FFFFFF#000000##FFFFFF
##2122A61.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AA
Deuteranopia (green-blind)
#0033A4
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2122a6;
/* rgb */ color: rgb(33, 34, 166);
/* oklch */ color: oklch(36.8% 0.201 270.6);
Tailwind
colors: {
  custom: {
    50: '#7660c2',
    500: '#2122a6',
    950: '#000000',
  },
}
SCSS
$custom: #2122a6;
$custom-light: #7660c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2122a6",
  "rgb": {
    "r": 33,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 239.549,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36786,
    "c": 0.20053,
    "h": 270.6
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#2122A6
secondary
#C5C45E
accent
#E83EEA
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2122A6

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

Preview Lab → · Contrast checker → · Palette generator →

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