#24549F#24549F

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

Color values

HEX#24549F
RGBrgb(36, 84, 159)
HSLhsl(217, 63%, 38%)
HSVhsv(217, 77%, 62%)
CMYKcmyk(77.4%, 47.2%, 0%, 37.6%)
CIE-LABlab(36.40, 11.38, -45.39)
CIE-LCHlch(36.40, 46.80, 284.08°)
OKLaboklab(45.53% -0.0249 -0.1302)
OKLCHoklch(45.53% 0.133 259.2)
XYZxyz(10.1536, 9.2178, 34.0382)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24549F #9F6F24
analogous
#24919F #24549F #31249F
triadic
#24549F #9F2454 #549F24
tetradic
#24549F #9F2491 #9F6F24 #249F31
square
#24549F #9F2491 #9F6F24 #249F31
split-complementary
#24549F #9F3124 #919F24
monochromatic
#0D1F3B #193A6D #24549F #306FD0 #6291DB

Accessibility & contrast

On white

7.38
#24549F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24549F
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24549F#FFFFFF#000000##FFFFFF
##24549F1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5CA2
Deuteranopia (green-blind)
#0C509D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #24549f;
/* rgb */ color: rgb(36, 84, 159);
/* oklch */ color: oklch(45.5% 0.133 259.2);
Tailwind
colors: {
  custom: {
    50: '#7183bc',
    500: '#24549f',
    950: '#000000',
  },
}
SCSS
$custom: #24549f;
$custom-light: #7183bc;
$custom-dark: #000000;
JSON
{
  "hex": "#24549f",
  "rgb": {
    "r": 36,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 216.585,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45525,
    "c": 0.1326,
    "h": 259.2
  },
  "luminance": 0.09219
}

Semantic roles & 50–950 ramp

primary
#24549F
secondary
#C19A5E
accent
#A642E6
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #24549F

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

Preview Lab → · Contrast checker → · Palette generator →

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