#22269A#22269A

#22269A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.182 H 271.3°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#22269A
RGBrgb(34, 38, 154)
HSLhsl(238, 64%, 37%)
HSVhsv(238, 78%, 60%)
CMYKcmyk(77.9%, 75.3%, 0%, 39.6%)
CIE-LABlab(23.86, 39.57, -62.80)
CIE-LCHlch(23.86, 74.23, 302.22°)
OKLaboklab(36.04% 0.0041 -0.1818)
OKLCHoklch(36.04% 0.182 271.3)
XYZxyz(7.1836, 4.0586, 30.9704)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22269A #9A9622
analogous
#22629A #22269A #5A229A
triadic
#22269A #9A2226 #269A22
tetradic
#22269A #9A2262 #9A9622 #229A5A
square
#22269A #9A2262 #9A9622 #229A5A
split-complementary
#22269A #9A5A22 #629A22
monochromatic
#0C0D36 #171A68 #22269A #2D32CC #5B60DB

Accessibility & contrast

On white

11.59
#22269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#22269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22269A
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22269A#FFFFFF#000000##FFFFFF
##22269A1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22269a;
/* rgb */ color: rgb(34, 38, 154);
/* oklch */ color: oklch(36.0% 0.182 271.3);
Tailwind
colors: {
  custom: {
    50: '#7362b9',
    500: '#22269a',
    950: '#000000',
  },
}
SCSS
$custom: #22269a;
$custom-light: #7362b9;
$custom-dark: #000000;
JSON
{
  "hex": "#22269a",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 238,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36036,
    "c": 0.18187,
    "h": 271.3
  },
  "luminance": 0.04059
}

Semantic roles & 50–950 ramp

primary
#22269A
secondary
#BFBC58
accent
#E141E7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #22269A

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

Preview Lab → · Contrast checker → · Palette generator →

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