#24497F#24497F

#24497F is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.7% C 0.100 H 258.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#24497F
RGBrgb(36, 73, 127)
HSLhsl(216, 56%, 32%)
HSVhsv(216, 72%, 50%)
CMYKcmyk(71.7%, 42.5%, 0%, 50.2%)
CIE-LABlab(31.05, 6.19, -34.43)
CIE-LCHlch(31.05, 34.98, 280.19°)
OKLaboklab(40.73% -0.021 -0.0982)
OKLCHoklch(40.73% 0.1 258)
XYZxyz(6.9395, 6.6717, 20.9966)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24497F #7F5A24
analogous
#24777F #24497F #2C247F
triadic
#24497F #7F2449 #497F24
tetradic
#24497F #7F2477 #7F5A24 #247F2C
square
#24497F #7F2477 #7F5A24 #247F2C
split-complementary
#24497F #7F2C24 #777F24
monochromatic
#091220 #162E4F #24497F #3264AF #5083CD

Accessibility & contrast

On white

9.00
#24497F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#24497F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24497F
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24497F#FFFFFF#000000##FFFFFF
##24497F1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#21457E
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #24497f;
/* rgb */ color: rgb(36, 73, 127);
/* oklch */ color: oklch(40.7% 0.100 258.0);
Tailwind
colors: {
  custom: {
    50: '#6a7ba4',
    500: '#24497f',
    950: '#000000',
  },
}
SCSS
$custom: #24497f;
$custom-light: #6a7ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#24497f",
  "rgb": {
    "r": 36,
    "g": 73,
    "b": 127
  },
  "hsl": {
    "h": 215.604,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40731,
    "c": 0.10044,
    "h": 258
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#24497F
secondary
#B1894E
accent
#A249DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #24497F

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

Preview Lab → · Contrast checker → · Palette generator →

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