#24487B#24487B

#24487B is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.096 H 257.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#24487B
RGBrgb(36, 72, 123)
HSLhsl(215, 55%, 31%)
HSVhsv(215, 71%, 48%)
CMYKcmyk(70.7%, 41.5%, 0%, 51.8%)
CIE-LABlab(30.49, 5.30, -32.82)
CIE-LCHlch(30.49, 33.24, 279.17°)
OKLaboklab(40.22% -0.0209 -0.0935)
OKLCHoklch(40.22% 0.096 257.4)
XYZxyz(6.6188, 6.4392, 19.6291)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24487B #7B5724
analogous
#24737B #24487B #2B247B
triadic
#24487B #7B2448 #487B24
tetradic
#24487B #7B2473 #7B5724 #247B2B
square
#24487B #7B2473 #7B5724 #247B2B
split-complementary
#24487B #7B2B24 #737B24
monochromatic
#08111C #162C4C #24487B #3264AA #4E82CB

Accessibility & contrast

On white

9.18
#24487B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#24487B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24487B
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24487B#FFFFFF#000000##FFFFFF
##24487B1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7D
Deuteranopia (green-blind)
#23447A
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #24487b;
/* rgb */ color: rgb(36, 72, 123);
/* oklch */ color: oklch(40.2% 0.096 257.4);
Tailwind
colors: {
  custom: {
    50: '#6a7aa1',
    500: '#24487b',
    950: '#000000',
  },
}
SCSS
$custom: #24487b;
$custom-light: #6a7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#24487b",
  "rgb": {
    "r": 36,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 215.172,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40222,
    "c": 0.09582,
    "h": 257.4
  },
  "luminance": 0.0644
}

Semantic roles & 50–950 ramp

primary
#24487B
secondary
#AD864D
accent
#A14ADE
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #24487B

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

Preview Lab → · Contrast checker → · Palette generator →

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