#24539C#24539C

#24539C is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.1% C 0.130 H 259.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#24539C
RGBrgb(36, 83, 156)
HSLhsl(217, 63%, 38%)
HSVhsv(217, 77%, 61%)
CMYKcmyk(76.9%, 46.8%, 0%, 38.8%)
CIE-LABlab(35.91, 10.87, -44.38)
CIE-LCHlch(35.91, 45.69, 283.76°)
OKLaboklab(45.08% -0.0245 -0.1273)
OKLCHoklch(45.08% 0.13 259.1)
XYZxyz(9.8194, 8.9608, 32.6581)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24539C #9C6D24
analogous
#248F9C #24539C #31249C
triadic
#24539C #9C2453 #539C24
tetradic
#24539C #9C248F #9C6D24 #249C31
square
#24539C #9C248F #9C6D24 #249C31
split-complementary
#24539C #9C3124 #8F9C24
monochromatic
#0D1E39 #19396A #24539C #2F6DCE #6090DA

Accessibility & contrast

On white

7.52
#24539C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#24539C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24539C
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24539C#FFFFFF#000000##FFFFFF
##24539C1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5A9F
Deuteranopia (green-blind)
#104F9B
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #24539c;
/* rgb */ color: rgb(36, 83, 156);
/* oklch */ color: oklch(45.1% 0.130 259.1);
Tailwind
colors: {
  custom: {
    50: '#7082ba',
    500: '#24539c',
    950: '#000000',
  },
}
SCSS
$custom: #24539c;
$custom-light: #7082ba;
$custom-dark: #000000;
JSON
{
  "hex": "#24539c",
  "rgb": {
    "r": 36,
    "g": 83,
    "b": 156
  },
  "hsl": {
    "h": 216.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45083,
    "c": 0.12964,
    "h": 259.1
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#24539C
secondary
#BF995C
accent
#A642E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #24539C

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

Preview Lab → · Contrast checker → · Palette generator →

#24539C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva