#22529F#22529F

#22529F is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.136 H 259.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#22529F
RGBrgb(34, 82, 159)
HSLhsl(217, 65%, 38%)
HSVhsv(217, 79%, 62%)
CMYKcmyk(78.6%, 48.4%, 0%, 37.6%)
CIE-LABlab(35.75, 12.47, -46.45)
CIE-LCHlch(35.75, 48.09, 285.03°)
OKLaboklab(45% -0.0245 -0.1334)
OKLCHoklch(45% 0.136 259.6)
XYZxyz(9.9327, 8.8767, 33.9841)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22529F #9F6F22
analogous
#22909F #22529F #30229F
triadic
#22529F #9F2252 #529F22
tetradic
#22529F #9F2290 #9F6F22 #229F30
square
#22529F #9F2290 #9F6F22 #229F30
split-complementary
#22529F #9F3022 #909F22
monochromatic
#0C1E3A #17386D #22529F #2D6CD1 #5F8FDD

Accessibility & contrast

On white

7.57
#22529F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#22529F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22529F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22529F#FFFFFF#000000##FFFFFF
##22529F1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275AA2
Deuteranopia (green-blind)
#004F9D
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #22529f;
/* rgb */ color: rgb(34, 82, 159);
/* oklch */ color: oklch(45.0% 0.136 259.6);
Tailwind
colors: {
  custom: {
    50: '#7182bc',
    500: '#22529f',
    950: '#000000',
  },
}
SCSS
$custom: #22529f;
$custom-light: #7182bc;
$custom-dark: #000000;
JSON
{
  "hex": "#22529f",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 159
  },
  "hsl": {
    "h": 216.96,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45003,
    "c": 0.13566,
    "h": 259.6
  },
  "luminance": 0.08878
}

Semantic roles & 50–950 ramp

primary
#22529F
secondary
#C19A5B
accent
#A740E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #22529F

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

Preview Lab → · Contrast checker → · Palette generator →

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