#24529F#24529F

#24529F is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.135 H 260.1°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#24529F
RGBrgb(36, 82, 159)
HSLhsl(218, 63%, 38%)
HSVhsv(218, 77%, 62%)
CMYKcmyk(77.4%, 48.4%, 0%, 37.6%)
CIE-LABlab(35.81, 12.71, -46.34)
CIE-LCHlch(35.81, 48.05, 285.34°)
OKLaboklab(45.07% -0.0232 -0.1331)
OKLCHoklch(45.07% 0.135 260.1)
XYZxyz(10.0006, 8.9117, 33.9872)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24529F #9F7124
analogous
#248F9F #24529F #33249F
triadic
#24529F #9F2452 #529F24
tetradic
#24529F #9F248F #9F7124 #249F33
square
#24529F #9F248F #9F7124 #249F33
split-complementary
#24529F #9F3324 #8F9F24
monochromatic
#0D1F3B #19386D #24529F #306CD0 #628FDB

Accessibility & contrast

On white

7.55
#24529F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#24529F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24529F
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24529F#FFFFFF#000000##FFFFFF
##24529F1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275AA2
Deuteranopia (green-blind)
#004F9D
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #24529f;
/* rgb */ color: rgb(36, 82, 159);
/* oklch */ color: oklch(45.1% 0.135 260.1);
Tailwind
colors: {
  custom: {
    50: '#7182bc',
    500: '#24529f',
    950: '#000000',
  },
}
SCSS
$custom: #24529f;
$custom-light: #7182bc;
$custom-dark: #000000;
JSON
{
  "hex": "#24529f",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 159
  },
  "hsl": {
    "h": 217.561,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45074,
    "c": 0.13506,
    "h": 260.1
  },
  "luminance": 0.08913
}

Semantic roles & 50–950 ramp

primary
#24529F
secondary
#C19C5E
accent
#A942E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #24529F

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

Preview Lab → · Contrast checker → · Palette generator →

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