#24487F#24487F

#24487F is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.5% C 0.102 H 258.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#24487F
RGBrgb(36, 72, 127)
HSLhsl(216, 56%, 32%)
HSVhsv(216, 72%, 50%)
CMYKcmyk(71.7%, 43.3%, 0%, 50.2%)
CIE-LABlab(30.74, 6.86, -34.92)
CIE-LCHlch(30.74, 35.59, 281.11°)
OKLaboklab(40.49% -0.0199 -0.0997)
OKLCHoklch(40.49% 0.102 258.7)
XYZxyz(6.8743, 6.5414, 20.9749)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24487F #7F5B24
analogous
#24767F #24487F #2E247F
triadic
#24487F #7F2448 #487F24
tetradic
#24487F #7F2476 #7F5B24 #247F2E
square
#24487F #7F2476 #7F5B24 #247F2E
split-complementary
#24487F #7F2E24 #767F24
monochromatic
#091220 #162D4F #24487F #3263AF #5082CD

Accessibility & contrast

On white

9.10
#24487F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#24487F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24487F
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24487F#FFFFFF#000000##FFFFFF
##24487F1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#1F447E
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #24487f;
/* rgb */ color: rgb(36, 72, 127);
/* oklch */ color: oklch(40.5% 0.102 258.7);
Tailwind
colors: {
  custom: {
    50: '#6a7aa4',
    500: '#24487f',
    950: '#000000',
  },
}
SCSS
$custom: #24487f;
$custom-light: #6a7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#24487f",
  "rgb": {
    "r": 36,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 216.264,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40492,
    "c": 0.10166,
    "h": 258.7
  },
  "luminance": 0.06542
}

Semantic roles & 50–950 ramp

primary
#24487F
secondary
#B18A4E
accent
#A449DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #24487F

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

Preview Lab → · Contrast checker → · Palette generator →

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