#24539D#24539D

#24539D is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.131 H 259.3°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#24539D
RGBrgb(36, 83, 157)
HSLhsl(217, 63%, 38%)
HSVhsv(217, 77%, 62%)
CMYKcmyk(77.1%, 47.1%, 0%, 38.4%)
CIE-LABlab(35.97, 11.26, -44.88)
CIE-LCHlch(35.97, 46.27, 284.09°)
OKLaboklab(45.16% -0.0244 -0.1287)
OKLCHoklch(45.16% 0.131 259.3)
XYZxyz(9.9044, 8.9948, 33.1059)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24539D #9D6E24
analogous
#248F9D #24539D #31249D
triadic
#24539D #9D2453 #539D24
tetradic
#24539D #9D248F #9D6E24 #249D31
square
#24539D #9D248F #9D6E24 #249D31
split-complementary
#24539D #9D3124 #8F9D24
monochromatic
#0D1E39 #19396B #24539D #2F6DCF #6190DB

Accessibility & contrast

On white

7.50
#24539D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#24539D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24539D
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24539D#FFFFFF#000000##FFFFFF
##24539D1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5BA0
Deuteranopia (green-blind)
#0D4F9C
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #24539d;
/* rgb */ color: rgb(36, 83, 157);
/* oklch */ color: oklch(45.2% 0.131 259.3);
Tailwind
colors: {
  custom: {
    50: '#7182ba',
    500: '#24539d',
    950: '#000000',
  },
}
SCSS
$custom: #24539d;
$custom-light: #7182ba;
$custom-dark: #000000;
JSON
{
  "hex": "#24539d",
  "rgb": {
    "r": 36,
    "g": 83,
    "b": 157
  },
  "hsl": {
    "h": 216.694,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45155,
    "c": 0.13104,
    "h": 259.3
  },
  "luminance": 0.08996
}

Semantic roles & 50–950 ramp

primary
#24539D
secondary
#C0995D
accent
#A642E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #24539D

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

Preview Lab → · Contrast checker → · Palette generator →

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