#24497D#24497D

#24497D is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.098 H 257.3°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#24497D
RGBrgb(36, 73, 125)
HSLhsl(215, 55%, 32%)
HSVhsv(215, 71%, 49%)
CMYKcmyk(71.2%, 41.6%, 0%, 51%)
CIE-LABlab(30.93, 5.41, -33.38)
CIE-LCHlch(30.93, 33.82, 279.20°)
OKLaboklab(40.6% -0.0214 -0.0951)
OKLCHoklch(40.6% 0.098 257.3)
XYZxyz(6.8104, 6.6201, 20.3170)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24497D #7D5824
analogous
#24767D #24497D #2B247D
triadic
#24497D #7D2449 #497D24
tetradic
#24497D #7D2476 #7D5824 #247D2B
square
#24497D #7D2476 #7D5824 #247D2B
split-complementary
#24497D #7D2B24 #767D24
monochromatic
#09121E #162D4D #24497D #3265AD #4F83CC

Accessibility & contrast

On white

9.04
#24497D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#24497D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24497D
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24497D#FFFFFF#000000##FFFFFF
##24497D1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#23457C
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #24497d;
/* rgb */ color: rgb(36, 73, 125);
/* oklch */ color: oklch(40.6% 0.098 257.3);
Tailwind
colors: {
  custom: {
    50: '#6a7ba3',
    500: '#24497d',
    950: '#000000',
  },
}
SCSS
$custom: #24497d;
$custom-light: #6a7ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#24497d",
  "rgb": {
    "r": 36,
    "g": 73,
    "b": 125
  },
  "hsl": {
    "h": 215.056,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40597,
    "c": 0.09754,
    "h": 257.3
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#24497D
secondary
#AF874D
accent
#A049DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #24497D

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

Preview Lab → · Contrast checker → · Palette generator →

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