#22289C#22289C

#22289C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.182 H 270.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#22289C
RGBrgb(34, 40, 156)
HSLhsl(237, 64%, 37%)
HSVhsv(237, 78%, 61%)
CMYKcmyk(78.2%, 74.4%, 0%, 38.8%)
CIE-LABlab(24.50, 39.08, -62.97)
CIE-LCHlch(24.50, 74.11, 301.83°)
OKLaboklab(36.56% 0.0029 -0.1823)
OKLCHoklch(36.56% 0.182 270.9)
XYZxyz(7.4172, 4.2571, 31.8768)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22289C #9C9622
analogous
#22659C #22289C #59229C
triadic
#22289C #9C2228 #289C22
tetradic
#22289C #9C2265 #9C9622 #229C59
square
#22289C #9C2265 #9C9622 #229C59
split-complementary
#22289C #9C5922 #659C22
monochromatic
#0C0E38 #171B6A #22289C #2D35CE #5D63DC

Accessibility & contrast

On white

11.34
#22289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#22289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22289C
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22289C#FFFFFF#000000##FFFFFF
##22289C1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #22289c;
/* rgb */ color: rgb(34, 40, 156);
/* oklch */ color: oklch(36.6% 0.182 270.9);
Tailwind
colors: {
  custom: {
    50: '#7363ba',
    500: '#22289c',
    950: '#000000',
  },
}
SCSS
$custom: #22289c;
$custom-light: #7363ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22289c",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 237.049,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36556,
    "c": 0.18234,
    "h": 270.9
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#22289C
secondary
#C0BB5A
accent
#DF41E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #22289C

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

Preview Lab → · Contrast checker → · Palette generator →

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