#24539F#24539F

#24539F is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.3% C 0.134 H 259.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#24539F
RGBrgb(36, 83, 159)
HSLhsl(217, 63%, 38%)
HSVhsv(217, 77%, 62%)
CMYKcmyk(77.4%, 47.8%, 0%, 37.6%)
CIE-LABlab(36.11, 12.05, -45.86)
CIE-LCHlch(36.11, 47.42, 284.72°)
OKLaboklab(45.3% -0.024 -0.1317)
OKLCHoklch(45.3% 0.134 259.7)
XYZxyz(10.0765, 9.0636, 34.0126)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24539F #9F7024
analogous
#24909F #24539F #32249F
triadic
#24539F #9F2453 #539F24
tetradic
#24539F #9F2490 #9F7024 #249F32
square
#24539F #9F2490 #9F7024 #249F32
split-complementary
#24539F #9F3224 #909F24
monochromatic
#0D1F3B #19396D #24539F #306DD0 #6290DB

Accessibility & contrast

On white

7.47
#24539F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#24539F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24539F
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24539F#FFFFFF#000000##FFFFFF
##24539F1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA2
Deuteranopia (green-blind)
#06509D
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #24539f;
/* rgb */ color: rgb(36, 83, 159);
/* oklch */ color: oklch(45.3% 0.134 259.7);
Tailwind
colors: {
  custom: {
    50: '#7182bc',
    500: '#24539f',
    950: '#000000',
  },
}
SCSS
$custom: #24539f;
$custom-light: #7182bc;
$custom-dark: #000000;
JSON
{
  "hex": "#24539f",
  "rgb": {
    "r": 36,
    "g": 83,
    "b": 159
  },
  "hsl": {
    "h": 217.073,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45299,
    "c": 0.13383,
    "h": 259.7
  },
  "luminance": 0.09065
}

Semantic roles & 50–950 ramp

primary
#24539F
secondary
#C19B5E
accent
#A742E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #24539F

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

Preview Lab → · Contrast checker → · Palette generator →

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