#22529D#22529D

#22529D is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.133 H 259.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#22529D
RGBrgb(34, 82, 157)
HSLhsl(217, 64%, 37%)
HSVhsv(217, 78%, 62%)
CMYKcmyk(78.3%, 47.8%, 0%, 38.4%)
CIE-LABlab(35.61, 11.68, -45.46)
CIE-LCHlch(35.61, 46.94, 284.41°)
OKLaboklab(44.86% -0.0249 -0.1305)
OKLCHoklch(44.86% 0.133 259.2)
XYZxyz(9.7606, 8.8079, 33.0774)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22529D #9D6D22
analogous
#22909D #22529D #2F229D
triadic
#22529D #9D2252 #529D22
tetradic
#22529D #9D2290 #9D6D22 #229D2F
square
#22529D #9D2290 #9D6D22 #229D2F
split-complementary
#22529D #9D2F22 #909D22
monochromatic
#0C1D38 #17386B #22529D #2D6CCF #5D8FDC

Accessibility & contrast

On white

7.60
#22529D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#22529D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22529D
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22529D#FFFFFF#000000##FFFFFF
##22529D1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA0
Deuteranopia (green-blind)
#054F9B
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #22529d;
/* rgb */ color: rgb(34, 82, 157);
/* oklch */ color: oklch(44.9% 0.133 259.2);
Tailwind
colors: {
  custom: {
    50: '#7082ba',
    500: '#22529d',
    950: '#000000',
  },
}
SCSS
$custom: #22529d;
$custom-light: #7082ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22529d",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 157
  },
  "hsl": {
    "h": 216.585,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44857,
    "c": 0.13287,
    "h": 259.2
  },
  "luminance": 0.08809
}

Semantic roles & 50–950 ramp

primary
#22529D
secondary
#C1995A
accent
#A640E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #22529D

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

Preview Lab → · Contrast checker → · Palette generator →

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