#22529C#22529C

#22529C is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.8% C 0.131 H 259.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#22529C
RGBrgb(34, 82, 156)
HSLhsl(216, 64%, 37%)
HSVhsv(216, 78%, 61%)
CMYKcmyk(78.2%, 47.4%, 0%, 38.8%)
CIE-LABlab(35.55, 11.28, -44.97)
CIE-LCHlch(35.55, 46.36, 284.09°)
OKLaboklab(44.78% -0.025 -0.1291)
OKLCHoklch(44.78% 0.131 259)
XYZxyz(9.6755, 8.7739, 32.6296)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22529C #9C6C22
analogous
#228F9C #22529C #2F229C
triadic
#22529C #9C2252 #529C22
tetradic
#22529C #9C228F #9C6C22 #229C2F
square
#22529C #9C228F #9C6C22 #229C2F
split-complementary
#22529C #9C2F22 #8F9C22
monochromatic
#0C1D38 #17386A #22529C #2D6CCE #5D8FDC

Accessibility & contrast

On white

7.62
#22529C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#22529C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22529C
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22529C#FFFFFF#000000##FFFFFF
##22529C1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5A9F
Deuteranopia (green-blind)
#094E9B
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #22529c;
/* rgb */ color: rgb(34, 82, 156);
/* oklch */ color: oklch(44.8% 0.131 259.0);
Tailwind
colors: {
  custom: {
    50: '#7082ba',
    500: '#22529c',
    950: '#000000',
  },
}
SCSS
$custom: #22529c;
$custom-light: #7082ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22529c",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 156
  },
  "hsl": {
    "h": 216.393,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44784,
    "c": 0.13148,
    "h": 259
  },
  "luminance": 0.08775
}

Semantic roles & 50–950 ramp

primary
#22529C
secondary
#C0985A
accent
#A641E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #22529C

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

Preview Lab → · Contrast checker → · Palette generator →

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