#22549F#22549F

#22549F is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.5% C 0.133 H 258.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#22549F
RGBrgb(34, 84, 159)
HSLhsl(216, 65%, 38%)
HSVhsv(216, 79%, 62%)
CMYKcmyk(78.6%, 47.2%, 0%, 37.6%)
CIE-LABlab(36.33, 11.14, -45.50)
CIE-LCHlch(36.33, 46.85, 283.75°)
OKLaboklab(45.46% -0.0262 -0.1306)
OKLCHoklch(45.46% 0.133 258.6)
XYZxyz(10.0857, 9.1828, 34.0351)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22549F #9F6D22
analogous
#22929F #22549F #2E229F
triadic
#22549F #9F2254 #549F22
tetradic
#22549F #9F2292 #9F6D22 #229F2E
square
#22549F #9F2292 #9F6D22 #229F2E
split-complementary
#22549F #9F2E22 #929F22
monochromatic
#0C1F3A #17396D #22549F #2D6FD1 #5F91DD

Accessibility & contrast

On white

7.40
#22549F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#22549F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22549F
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22549F#FFFFFF#000000##FFFFFF
##22549F1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5CA2
Deuteranopia (green-blind)
#0A509D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #22549f;
/* rgb */ color: rgb(34, 84, 159);
/* oklch */ color: oklch(45.5% 0.133 258.6);
Tailwind
colors: {
  custom: {
    50: '#7183bc',
    500: '#22549f',
    950: '#000000',
  },
}
SCSS
$custom: #22549f;
$custom-light: #7183bc;
$custom-dark: #000000;
JSON
{
  "hex": "#22549f",
  "rgb": {
    "r": 34,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 216,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45455,
    "c": 0.13321,
    "h": 258.6
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

primary
#22549F
secondary
#C1995B
accent
#A540E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #22549F

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

Preview Lab → · Contrast checker → · Palette generator →

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