#24498D#24498D

#24498D is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.7% C 0.121 H 261.3°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#24498D
RGBrgb(36, 73, 141)
HSLhsl(219, 59%, 35%)
HSVhsv(219, 74%, 55%)
CMYKcmyk(74.5%, 48.2%, 0%, 44.7%)
CIE-LABlab(31.95, 11.68, -41.63)
CIE-LCHlch(31.95, 43.24, 285.67°)
OKLaboklab(41.72% -0.0182 -0.1194)
OKLCHoklch(41.72% 0.121 261.3)
XYZxyz(7.9161, 7.0624, 26.1401)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24498D #8D6824
analogous
#247E8D #24498D #33248D
triadic
#24498D #8D2449 #498D24
tetradic
#24498D #8D247E #8D6824 #248D33
square
#24498D #8D247E #8D6824 #248D33
split-complementary
#24498D #8D3324 #7E8D24
monochromatic
#0B172B #18305C #24498D #3062BE #5783D4

Accessibility & contrast

On white

8.70
#24498D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#24498D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24498D
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24498D#FFFFFF#000000##FFFFFF
##24498D1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255090
Deuteranopia (green-blind)
#0A478C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #24498d;
/* rgb */ color: rgb(36, 73, 141);
/* oklch */ color: oklch(41.7% 0.121 261.3);
Tailwind
colors: {
  custom: {
    50: '#6d7baf',
    500: '#24498d',
    950: '#000000',
  },
}
SCSS
$custom: #24498d;
$custom-light: #6d7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#24498d",
  "rgb": {
    "r": 36,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 218.857,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41717,
    "c": 0.12078,
    "h": 261.3
  },
  "luminance": 0.07063
}

Semantic roles & 50–950 ramp

primary
#24498D
secondary
#B89554
accent
#AB45E3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #24498D

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

Preview Lab → · Contrast checker → · Palette generator →

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