#22289A#22289A

#22289A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.180 H 271.0°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#22289A
RGBrgb(34, 40, 154)
HSLhsl(237, 64%, 37%)
HSVhsv(237, 78%, 60%)
CMYKcmyk(77.9%, 74%, 0%, 39.6%)
CIE-LABlab(24.29, 38.38, -62.10)
CIE-LCHlch(24.29, 73.00, 301.72°)
OKLaboklab(36.34% 0.0032 -0.1798)
OKLCHoklch(36.34% 0.18 271)
XYZxyz(7.2492, 4.1900, 30.9923)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22289A #9A9422
analogous
#22649A #22289A #58229A
triadic
#22289A #9A2228 #289A22
tetradic
#22289A #9A2264 #9A9422 #229A58
square
#22289A #9A2264 #9A9422 #229A58
split-complementary
#22289A #9A5822 #649A22
monochromatic
#0C0E36 #171B68 #22289A #2D35CC #5B62DB

Accessibility & contrast

On white

11.42
#22289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#22289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22289A
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22289A#FFFFFF#000000##FFFFFF
##22289A1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #22289a;
/* rgb */ color: rgb(34, 40, 154);
/* oklch */ color: oklch(36.3% 0.180 271.0);
Tailwind
colors: {
  custom: {
    50: '#7363b9',
    500: '#22289a',
    950: '#000000',
  },
}
SCSS
$custom: #22289a;
$custom-light: #7363b9;
$custom-dark: #000000;
JSON
{
  "hex": "#22289a",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 237,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36339,
    "c": 0.17982,
    "h": 271
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#22289A
secondary
#BFBA58
accent
#DF41E7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #22289A

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

Preview Lab → · Contrast checker → · Palette generator →

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