#22259D#22259D

#22259D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.187 H 271.2°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#22259D
RGBrgb(34, 37, 157)
HSLhsl(239, 64%, 37%)
HSVhsv(239, 78%, 62%)
CMYKcmyk(78.3%, 76.4%, 0%, 38.4%)
CIE-LABlab(23.99, 41.19, -64.43)
CIE-LCHlch(23.99, 76.47, 302.59°)
OKLaboklab(36.22% 0.004 -0.1865)
OKLCHoklch(36.22% 0.187 271.2)
XYZxyz(7.4050, 4.0967, 32.2922)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22259D #9D9A22
analogous
#22629D #22259D #5D229D
triadic
#22259D #9D2225 #259D22
tetradic
#22259D #9D2262 #9D9A22 #229D5D
square
#22259D #9D2262 #9D9A22 #229D5D
split-complementary
#22259D #9D5D22 #629D22
monochromatic
#0C0D38 #17196B #22259D #2D31CF #5D60DC

Accessibility & contrast

On white

11.54
#22259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#22259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22259D
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22259D#FFFFFF#000000##FFFFFF
##22259D1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00339B
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22259d;
/* rgb */ color: rgb(34, 37, 157);
/* oklch */ color: oklch(36.2% 0.187 271.2);
Tailwind
colors: {
  custom: {
    50: '#7461bb',
    500: '#22259d',
    950: '#000000',
  },
}
SCSS
$custom: #22259d;
$custom-light: #7461bb;
$custom-dark: #000000;
JSON
{
  "hex": "#22259d",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 238.537,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36222,
    "c": 0.18659,
    "h": 271.2
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#22259D
secondary
#C1BE5A
accent
#E340E7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #22259D

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

Preview Lab → · Contrast checker → · Palette generator →

#22259D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva