#22168A#22168A

#22168A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.177 H 274.5°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#22168A
RGBrgb(34, 22, 138)
HSLhsl(246, 73%, 31%)
HSVhsv(246, 84%, 54%)
CMYKcmyk(75.4%, 84.1%, 0%, 45.9%)
CIE-LABlab(19.01, 42.89, -60.92)
CIE-LCHlch(19.01, 74.50, 305.14°)
OKLaboklab(32.09% 0.0139 -0.1762)
OKLCHoklch(32.09% 0.177 274.5)
XYZxyz(5.5325, 2.7483, 24.2787)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22168A #7E8A16
analogous
#16448A #22168A #5C168A
triadic
#22168A #8A2216 #168A22
tetradic
#22168A #8A1644 #7E8A16 #168A5C
square
#22168A #8A1644 #7E8A16 #168A5C
split-complementary
#22168A #8A5C16 #448A16
monochromatic
#080520 #150E55 #22168A #2F1EBF #4C3BE0

Accessibility & contrast

On white

13.55
#22168A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#22168A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22168A
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22168A#FFFFFF#000000##FFFFFF
##22168A1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338D
Deuteranopia (green-blind)
#002988
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #22168a;
/* rgb */ color: rgb(34, 22, 138);
/* oklch */ color: oklch(32.1% 0.177 274.5);
Tailwind
colors: {
  custom: {
    50: '#7057ad',
    500: '#22168a',
    950: '#000000',
  },
}
SCSS
$custom: #22168a;
$custom-light: #7057ad;
$custom-dark: #000000;
JSON
{
  "hex": "#22168a",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 138
  },
  "hsl": {
    "h": 246.207,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32086,
    "c": 0.17672,
    "h": 274.5
  },
  "luminance": 0.02749
}

Semantic roles & 50–950 ramp

primary
#22168A
secondary
#B1BE3E
accent
#EF39DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #22168A

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

Preview Lab → · Contrast checker → · Palette generator →

#22168A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva