#22529A#22529A

#22529A is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.6% C 0.129 H 258.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#22529A
RGBrgb(34, 82, 154)
HSLhsl(216, 64%, 37%)
HSVhsv(216, 78%, 60%)
CMYKcmyk(77.9%, 46.8%, 0%, 39.6%)
CIE-LABlab(35.41, 10.49, -43.97)
CIE-LCHlch(35.41, 45.21, 283.42°)
OKLaboklab(44.64% -0.0254 -0.1261)
OKLCHoklch(44.64% 0.129 258.6)
XYZxyz(9.5076, 8.7067, 31.7451)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22529A #9A6A22
analogous
#228E9A #22529A #2E229A
triadic
#22529A #9A2252 #529A22
tetradic
#22529A #9A228E #9A6A22 #229A2E
square
#22529A #9A228E #9A6A22 #229A2E
split-complementary
#22529A #9A2E22 #8E9A22
monochromatic
#0C1D36 #173768 #22529A #2D6DCC #5B8EDB

Accessibility & contrast

On white

7.66
#22529A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#22529A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22529A
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22529A#FFFFFF#000000##FFFFFF
##22529A1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C599D
Deuteranopia (green-blind)
#0F4E99
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #22529a;
/* rgb */ color: rgb(34, 82, 154);
/* oklch */ color: oklch(44.6% 0.129 258.6);
Tailwind
colors: {
  custom: {
    50: '#6f82b8',
    500: '#22529a',
    950: '#000000',
  },
}
SCSS
$custom: #22529a;
$custom-light: #6f82b8;
$custom-dark: #000000;
JSON
{
  "hex": "#22529a",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 154
  },
  "hsl": {
    "h": 216,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4464,
    "c": 0.12867,
    "h": 258.6
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#22529A
secondary
#BF9658
accent
#A441E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #22529A

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

Preview Lab → · Contrast checker → · Palette generator →

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