#24487C#24487C

#24487C is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.3% C 0.097 H 257.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#24487C
RGBrgb(36, 72, 124)
HSLhsl(215, 55%, 31%)
HSVhsv(215, 71%, 49%)
CMYKcmyk(71%, 41.9%, 0%, 51.4%)
CIE-LABlab(30.55, 5.69, -33.35)
CIE-LCHlch(30.55, 33.83, 279.68°)
OKLaboklab(40.29% -0.0206 -0.0951)
OKLCHoklch(40.29% 0.097 257.8)
XYZxyz(6.6817, 6.4643, 19.9605)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24487C #7C5824
analogous
#24747C #24487C #2C247C
triadic
#24487C #7C2448 #487C24
tetradic
#24487C #7C2474 #7C5824 #247C2C
square
#24487C #7C2474 #7C5824 #247C2C
split-complementary
#24487C #7C2C24 #747C24
monochromatic
#08111D #162C4D #24487C #3264AB #4F82CC

Accessibility & contrast

On white

9.16
#24487C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24487C
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24487C#FFFFFF#000000##FFFFFF
##24487C1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#22447B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #24487c;
/* rgb */ color: rgb(36, 72, 124);
/* oklch */ color: oklch(40.3% 0.097 257.8);
Tailwind
colors: {
  custom: {
    50: '#6a7aa2',
    500: '#24487c',
    950: '#000000',
  },
}
SCSS
$custom: #24487c;
$custom-light: #6a7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#24487c",
  "rgb": {
    "r": 36,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 215.455,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40289,
    "c": 0.09728,
    "h": 257.8
  },
  "luminance": 0.06465
}

Semantic roles & 50–950 ramp

primary
#24487C
secondary
#AE874D
accent
#A149DE
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #24487C

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

Preview Lab → · Contrast checker → · Palette generator →

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