#22509B#22509B

#22509B is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.133 H 259.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#22509B
RGBrgb(34, 80, 155)
HSLhsl(217, 64%, 37%)
HSVhsv(217, 78%, 61%)
CMYKcmyk(78.1%, 48.4%, 0%, 39.2%)
CIE-LABlab(34.89, 12.22, -45.42)
CIE-LCHlch(34.89, 47.04, 285.06°)
OKLaboklab(44.26% -0.0235 -0.1304)
OKLCHoklch(44.26% 0.133 259.8)
XYZxyz(9.4426, 8.4429, 32.1360)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22509B #9B6D22
analogous
#228D9B #22509B #31229B
triadic
#22509B #9B2250 #509B22
tetradic
#22509B #9B228D #9B6D22 #229B31
square
#22509B #9B228D #9B6D22 #229B31
split-complementary
#22509B #9B3122 #8D9B22
monochromatic
#0C1C37 #173669 #22509B #2D6ACD #5C8CDB

Accessibility & contrast

On white

7.81
#22509B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#22509B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22509B
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22509B#FFFFFF#000000##FFFFFF
##22509B1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589E
Deuteranopia (green-blind)
#014D99
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #22509b;
/* rgb */ color: rgb(34, 80, 155);
/* oklch */ color: oklch(44.3% 0.133 259.8);
Tailwind
colors: {
  custom: {
    50: '#7080b9',
    500: '#22509b',
    950: '#000000',
  },
}
SCSS
$custom: #22509b;
$custom-light: #7080b9;
$custom-dark: #000000;
JSON
{
  "hex": "#22509b",
  "rgb": {
    "r": 34,
    "g": 80,
    "b": 155
  },
  "hsl": {
    "h": 217.19,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44257,
    "c": 0.13254,
    "h": 259.8
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#22509B
secondary
#C09959
accent
#A841E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #22509B

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

Preview Lab → · Contrast checker → · Palette generator →

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