#22509D#22509D

#22509D is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.135 H 260.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#22509D
RGBrgb(34, 80, 157)
HSLhsl(218, 64%, 37%)
HSVhsv(218, 78%, 62%)
CMYKcmyk(78.3%, 49%, 0%, 38.4%)
CIE-LABlab(35.02, 13.02, -46.41)
CIE-LCHlch(35.02, 48.20, 285.67°)
OKLaboklab(44.41% -0.0232 -0.1333)
OKLCHoklch(44.41% 0.135 260.1)
XYZxyz(9.6119, 8.5106, 33.0279)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22509D #9D6F22
analogous
#228E9D #22509D #32229D
triadic
#22509D #9D2250 #509D22
tetradic
#22509D #9D228E #9D6F22 #229D32
square
#22509D #9D228E #9D6F22 #229D32
split-complementary
#22509D #9D3222 #8E9D22
monochromatic
#0C1D38 #17366B #22509D #2D6ACF #5D8DDC

Accessibility & contrast

On white

7.77
#22509D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#22509D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22509D
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22509D#FFFFFF#000000##FFFFFF
##22509D1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2458A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #22509d;
/* rgb */ color: rgb(34, 80, 157);
/* oklch */ color: oklch(44.4% 0.135 260.1);
Tailwind
colors: {
  custom: {
    50: '#7080ba',
    500: '#22509d',
    950: '#000000',
  },
}
SCSS
$custom: #22509d;
$custom-light: #7080ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22509d",
  "rgb": {
    "r": 34,
    "g": 80,
    "b": 157
  },
  "hsl": {
    "h": 217.561,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44405,
    "c": 0.13534,
    "h": 260.1
  },
  "luminance": 0.08512
}

Semantic roles & 50–950 ramp

primary
#22509D
secondary
#C19A5A
accent
#A940E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #22509D

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

Preview Lab → · Contrast checker → · Palette generator →

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