#22289B#22289B

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

Color values

HEX#22289B
RGBrgb(34, 40, 155)
HSLhsl(237, 64%, 37%)
HSVhsv(237, 78%, 61%)
CMYKcmyk(78.1%, 74.2%, 0%, 39.2%)
CIE-LABlab(24.40, 38.73, -62.53)
CIE-LCHlch(24.40, 73.56, 301.77°)
OKLaboklab(36.45% 0.003 -0.1811)
OKLCHoklch(36.45% 0.181 271)
XYZxyz(7.3329, 4.2234, 31.4327)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22289B #9B9522
analogous
#22659B #22289B #59229B
triadic
#22289B #9B2228 #289B22
tetradic
#22289B #9B2265 #9B9522 #229B59
square
#22289B #9B2265 #9B9522 #229B59
split-complementary
#22289B #9B5922 #659B22
monochromatic
#0C0E37 #171B69 #22289B #2D35CD #5C62DB

Accessibility & contrast

On white

11.38
#22289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22289B
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22289B#FFFFFF#000000##FFFFFF
##22289B1.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22289b;
/* rgb */ color: rgb(34, 40, 155);
/* oklch */ color: oklch(36.4% 0.181 271.0);
Tailwind
colors: {
  custom: {
    50: '#7363ba',
    500: '#22289b',
    950: '#000000',
  },
}
SCSS
$custom: #22289b;
$custom-light: #7363ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22289b",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 237.025,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36447,
    "c": 0.18109,
    "h": 271
  },
  "luminance": 0.04224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22289B

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

Preview Lab → · Contrast checker → · Palette generator →

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