#22529B#22529B

#22529B is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.130 H 258.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#22529B
RGBrgb(34, 82, 155)
HSLhsl(216, 64%, 37%)
HSVhsv(216, 78%, 61%)
CMYKcmyk(78.1%, 47.1%, 0%, 39.2%)
CIE-LABlab(35.48, 10.89, -44.47)
CIE-LCHlch(35.48, 45.79, 283.76°)
OKLaboklab(44.71% -0.0252 -0.1276)
OKLCHoklch(44.71% 0.13 258.8)
XYZxyz(9.5912, 8.7401, 32.1855)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22529B #9B6B22
analogous
#228F9B #22529B #2E229B
triadic
#22529B #9B2252 #529B22
tetradic
#22529B #9B228F #9B6B22 #229B2E
square
#22529B #9B228F #9B6B22 #229B2E
split-complementary
#22529B #9B2E22 #8F9B22
monochromatic
#0C1D37 #173769 #22529B #2D6DCD #5C8FDB

Accessibility & contrast

On white

7.64
#22529B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22529B
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22529B#FFFFFF#000000##FFFFFF
##22529B1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B599E
Deuteranopia (green-blind)
#0C4E9A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #22529b;
/* rgb */ color: rgb(34, 82, 155);
/* oklch */ color: oklch(44.7% 0.130 258.8);
Tailwind
colors: {
  custom: {
    50: '#7082b9',
    500: '#22529b',
    950: '#000000',
  },
}
SCSS
$custom: #22529b;
$custom-light: #7082b9;
$custom-dark: #000000;
JSON
{
  "hex": "#22529b",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 155
  },
  "hsl": {
    "h": 216.198,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44712,
    "c": 0.13008,
    "h": 258.8
  },
  "luminance": 0.08741
}

Semantic roles & 50–950 ramp

primary
#22529B
secondary
#C09759
accent
#A541E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #22529B

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

Preview Lab → · Contrast checker → · Palette generator →

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