#24539B#24539B

#24539B is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.128 H 258.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#24539B
RGBrgb(36, 83, 155)
HSLhsl(216, 62%, 37%)
HSVhsv(216, 77%, 61%)
CMYKcmyk(76.8%, 46.5%, 0%, 39.2%)
CIE-LABlab(35.84, 10.48, -43.88)
CIE-LCHlch(35.84, 45.12, 283.43°)
OKLaboklab(45.01% -0.0247 -0.1258)
OKLCHoklch(45.01% 0.128 258.9)
XYZxyz(9.7350, 8.9270, 32.2140)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24539B #9B6C24
analogous
#248E9B #24539B #31249B
triadic
#24539B #9B2453 #539B24
tetradic
#24539B #9B248E #9B6C24 #249B31
square
#24539B #9B248E #9B6C24 #249B31
split-complementary
#24539B #9B3124 #8E9B24
monochromatic
#0D1E38 #183869 #24539B #306ECD #5F90DA

Accessibility & contrast

On white

7.54
#24539B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24539B
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24539B#FFFFFF#000000##FFFFFF
##24539B1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9E
Deuteranopia (green-blind)
#124F9A
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #24539b;
/* rgb */ color: rgb(36, 83, 155);
/* oklch */ color: oklch(45.0% 0.128 258.9);
Tailwind
colors: {
  custom: {
    50: '#7082b9',
    500: '#24539b',
    950: '#000000',
  },
}
SCSS
$custom: #24539b;
$custom-light: #7082b9;
$custom-dark: #000000;
JSON
{
  "hex": "#24539b",
  "rgb": {
    "r": 36,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 216.303,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45012,
    "c": 0.12824,
    "h": 258.9
  },
  "luminance": 0.08928
}

Semantic roles & 50–950 ramp

primary
#24539B
secondary
#BF985C
accent
#A542E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #24539B

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

Preview Lab → · Contrast checker → · Palette generator →

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