#22289F#22289F

#22289F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.186 H 270.7°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#22289F
RGBrgb(34, 40, 159)
HSLhsl(237, 65%, 38%)
HSVhsv(237, 79%, 62%)
CMYKcmyk(78.6%, 74.8%, 0%, 37.6%)
CIE-LABlab(24.83, 40.13, -64.26)
CIE-LCHlch(24.83, 75.76, 301.98°)
OKLaboklab(36.88% 0.0024 -0.1861)
OKLCHoklch(36.88% 0.186 270.7)
XYZxyz(7.6744, 4.3600, 33.2313)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22289F #9F9922
analogous
#22669F #22289F #5A229F
triadic
#22289F #9F2228 #289F22
tetradic
#22289F #9F2266 #9F9922 #229F5A
square
#22289F #9F2266 #9F9922 #229F5A
split-complementary
#22289F #9F5A22 #669F22
monochromatic
#0C0F3A #171B6D #22289F #2D35D1 #5F65DD

Accessibility & contrast

On white

11.22
#22289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#22289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22289F
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22289F#FFFFFF#000000##FFFFFF
##22289F1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22289f;
/* rgb */ color: rgb(34, 40, 159);
/* oklch */ color: oklch(36.9% 0.186 270.7);
Tailwind
colors: {
  custom: {
    50: '#7463bd',
    500: '#22289f',
    950: '#000000',
  },
}
SCSS
$custom: #22289f;
$custom-light: #7463bd;
$custom-dark: #000000;
JSON
{
  "hex": "#22289f",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 237.12,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36882,
    "c": 0.18611,
    "h": 270.7
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#22289F
secondary
#C1BD5B
accent
#E040E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #22289F

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

Preview Lab → · Contrast checker → · Palette generator →

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