#24549E#24549E

#24549E is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.5% C 0.131 H 259.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#24549E
RGBrgb(36, 84, 158)
HSLhsl(216, 63%, 38%)
HSVhsv(216, 77%, 62%)
CMYKcmyk(77.2%, 46.8%, 0%, 38%)
CIE-LABlab(36.33, 10.99, -44.90)
CIE-LCHlch(36.33, 46.22, 283.75°)
OKLaboklab(45.45% -0.0251 -0.1288)
OKLCHoklch(45.45% 0.131 259)
XYZxyz(10.0672, 9.1832, 33.5831)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24549E #9E6E24
analogous
#24919E #24549E #31249E
triadic
#24549E #9E2454 #549E24
tetradic
#24549E #9E2491 #9E6E24 #249E31
square
#24549E #9E2491 #9E6E24 #249E31
split-complementary
#24549E #9E3124 #919E24
monochromatic
#0D1F3A #193A6C #24549E #2F6FD0 #6191DB

Accessibility & contrast

On white

7.40
#24549E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#24549E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24549E
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24549E#FFFFFF#000000##FFFFFF
##24549E1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5BA1
Deuteranopia (green-blind)
#0F509D
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #24549e;
/* rgb */ color: rgb(36, 84, 158);
/* oklch */ color: oklch(45.5% 0.131 259.0);
Tailwind
colors: {
  custom: {
    50: '#7183bb',
    500: '#24549e',
    950: '#000000',
  },
}
SCSS
$custom: #24549e;
$custom-light: #7183bb;
$custom-dark: #000000;
JSON
{
  "hex": "#24549e",
  "rgb": {
    "r": 36,
    "g": 84,
    "b": 158
  },
  "hsl": {
    "h": 216.393,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45453,
    "c": 0.13121,
    "h": 259
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

primary
#24549E
secondary
#C0995E
accent
#A542E6
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #24549E

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

Preview Lab → · Contrast checker → · Palette generator →

#24549E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva