#24539A#24539A

#24539A is a dark, vivid blue. Relative luminance 0.089; OKLCH L 44.9% C 0.127 H 258.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#24539A
RGBrgb(36, 83, 154)
HSLhsl(216, 62%, 37%)
HSVhsv(216, 77%, 60%)
CMYKcmyk(76.6%, 46.1%, 0%, 39.6%)
CIE-LABlab(35.78, 10.08, -43.38)
CIE-LCHlch(35.78, 44.54, 283.08°)
OKLaboklab(44.94% -0.0249 -0.1244)
OKLCHoklch(44.94% 0.127 258.7)
XYZxyz(9.6514, 8.8936, 31.7736)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24539A #9A6B24
analogous
#248E9A #24539A #30249A
triadic
#24539A #9A2453 #539A24
tetradic
#24539A #9A248E #9A6B24 #249A30
square
#24539A #9A248E #9A6B24 #249A30
split-complementary
#24539A #9A3024 #8E9A24
monochromatic
#0D1E37 #183868 #24539A #306ECC #5F90DA

Accessibility & contrast

On white

7.56
#24539A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#24539A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24539A
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24539A#FFFFFF#000000##FFFFFF
##24539A1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9D
Deuteranopia (green-blind)
#154F99
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #24539a;
/* rgb */ color: rgb(36, 83, 154);
/* oklch */ color: oklch(44.9% 0.127 258.7);
Tailwind
colors: {
  custom: {
    50: '#7082b8',
    500: '#24539a',
    950: '#000000',
  },
}
SCSS
$custom: #24539a;
$custom-light: #7082b8;
$custom-dark: #000000;
JSON
{
  "hex": "#24539a",
  "rgb": {
    "r": 36,
    "g": 83,
    "b": 154
  },
  "hsl": {
    "h": 216.102,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44941,
    "c": 0.12683,
    "h": 258.7
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#24539A
secondary
#BF975B
accent
#A443E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #24539A

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

Preview Lab → · Contrast checker → · Palette generator →

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