#24487E#24487E

#24487E is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.100 H 258.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#24487E
RGBrgb(36, 72, 126)
HSLhsl(216, 56%, 32%)
HSVhsv(216, 71%, 49%)
CMYKcmyk(71.4%, 42.9%, 0%, 50.6%)
CIE-LABlab(30.68, 6.47, -34.40)
CIE-LCHlch(30.68, 35.00, 280.65°)
OKLaboklab(40.42% -0.0202 -0.0981)
OKLCHoklch(40.42% 0.1 258.4)
XYZxyz(6.8095, 6.5155, 20.6334)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24487E #7E5A24
analogous
#24757E #24487E #2D247E
triadic
#24487E #7E2448 #487E24
tetradic
#24487E #7E2475 #7E5A24 #247E2D
square
#24487E #7E2475 #7E5A24 #247E2D
split-complementary
#24487E #7E2D24 #757E24
monochromatic
#09121F #162D4E #24487E #3263AE #5082CD

Accessibility & contrast

On white

9.12
#24487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#24487E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24487E
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24487E#FFFFFF#000000##FFFFFF
##24487E1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#20447D
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #24487e;
/* rgb */ color: rgb(36, 72, 126);
/* oklch */ color: oklch(40.4% 0.100 258.4);
Tailwind
colors: {
  custom: {
    50: '#6a7aa4',
    500: '#24487e',
    950: '#000000',
  },
}
SCSS
$custom: #24487e;
$custom-light: #6a7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#24487e",
  "rgb": {
    "r": 36,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 216,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40424,
    "c": 0.1002,
    "h": 258.4
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#24487E
secondary
#B0894E
accent
#A349DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #24487E

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

Preview Lab → · Contrast checker → · Palette generator →

#24487E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva