#24529D#24529D

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

Color values

HEX#24529D
RGBrgb(36, 82, 157)
HSLhsl(217, 63%, 38%)
HSVhsv(217, 77%, 62%)
CMYKcmyk(77.1%, 47.8%, 0%, 38.4%)
CIE-LABlab(35.68, 11.93, -45.35)
CIE-LCHlch(35.68, 46.89, 284.73°)
OKLaboklab(44.93% -0.0235 -0.1302)
OKLCHoklch(44.93% 0.132 259.8)
XYZxyz(9.8284, 8.8429, 33.0806)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24529D #9D6F24
analogous
#248E9D #24529D #32249D
triadic
#24529D #9D2452 #529D24
tetradic
#24529D #9D248E #9D6F24 #249D32
square
#24529D #9D248E #9D6F24 #249D32
split-complementary
#24529D #9D3224 #8E9D24
monochromatic
#0D1E39 #19386B #24529D #2F6CCF #618FDB

Accessibility & contrast

On white

7.58
#24529D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#24529D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24529D
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24529D#FFFFFF#000000##FFFFFF
##24529D1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24529d;
/* rgb */ color: rgb(36, 82, 157);
/* oklch */ color: oklch(44.9% 0.132 259.8);
Tailwind
colors: {
  custom: {
    50: '#7182ba',
    500: '#24529d',
    950: '#000000',
  },
}
SCSS
$custom: #24529d;
$custom-light: #7182ba;
$custom-dark: #000000;
JSON
{
  "hex": "#24529d",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 157
  },
  "hsl": {
    "h": 217.19,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44928,
    "c": 0.13227,
    "h": 259.8
  },
  "luminance": 0.08844
}

Semantic roles & 50–950 ramp

primary
#24529D
secondary
#C09A5D
accent
#A842E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #24529D

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

Preview Lab → · Contrast checker → · Palette generator →

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