#22509F#22509F

#22509F is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.138 H 260.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#22509F
RGBrgb(34, 80, 159)
HSLhsl(218, 65%, 38%)
HSVhsv(218, 79%, 62%)
CMYKcmyk(78.6%, 49.7%, 0%, 37.6%)
CIE-LABlab(35.16, 13.81, -47.39)
CIE-LCHlch(35.16, 49.36, 286.24°)
OKLaboklab(44.55% -0.0229 -0.1362)
OKLCHoklch(44.55% 0.138 260.5)
XYZxyz(9.7841, 8.5795, 33.9345)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22509F #9F7122
analogous
#228E9F #22509F #32229F
triadic
#22509F #9F2250 #509F22
tetradic
#22509F #9F228E #9F7122 #229F32
square
#22509F #9F228E #9F7122 #229F32
split-complementary
#22509F #9F3222 #8E9F22
monochromatic
#0C1D3A #17376D #22509F #2D69D1 #5F8DDD

Accessibility & contrast

On white

7.73
#22509F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#22509F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22509F
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22509F#FFFFFF#000000##FFFFFF
##22509F1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2259A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #22509f;
/* rgb */ color: rgb(34, 80, 159);
/* oklch */ color: oklch(44.6% 0.138 260.5);
Tailwind
colors: {
  custom: {
    50: '#7180bc',
    500: '#22509f',
    950: '#000000',
  },
}
SCSS
$custom: #22509f;
$custom-light: #7180bc;
$custom-dark: #000000;
JSON
{
  "hex": "#22509f",
  "rgb": {
    "r": 34,
    "g": 80,
    "b": 159
  },
  "hsl": {
    "h": 217.92,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44554,
    "c": 0.13814,
    "h": 260.5
  },
  "luminance": 0.08581
}

Semantic roles & 50–950 ramp

primary
#22509F
secondary
#C19C5B
accent
#AA40E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #22509F

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

Preview Lab → · Contrast checker → · Palette generator →

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