#24498B#24498B

#24498B is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.118 H 261.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#24498B
RGBrgb(36, 73, 139)
HSLhsl(218, 59%, 34%)
HSVhsv(218, 74%, 55%)
CMYKcmyk(74.1%, 47.5%, 0%, 45.5%)
CIE-LABlab(31.81, 10.89, -40.62)
CIE-LCHlch(31.81, 42.05, 285.01°)
OKLaboklab(41.57% -0.0185 -0.1164)
OKLCHoklch(41.57% 0.118 261)
XYZxyz(7.7686, 7.0034, 25.3635)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24498B #8B6624
analogous
#247D8B #24498B #33248B
triadic
#24498B #8B2449 #498B24
tetradic
#24498B #8B247D #8B6624 #248B33
square
#24498B #8B247D #8B6624 #248B33
split-complementary
#24498B #8B3324 #7D8B24
monochromatic
#0B162A #172F5A #24498B #3163BC #5683D3

Accessibility & contrast

On white

8.75
#24498B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#24498B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24498B
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24498B#FFFFFF#000000##FFFFFF
##24498B1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508D
Deuteranopia (green-blind)
#0F468A
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #24498b;
/* rgb */ color: rgb(36, 73, 139);
/* oklch */ color: oklch(41.6% 0.118 261.0);
Tailwind
colors: {
  custom: {
    50: '#6d7bad',
    500: '#24498b',
    950: '#000000',
  },
}
SCSS
$custom: #24498b;
$custom-light: #6d7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#24498b",
  "rgb": {
    "r": 36,
    "g": 73,
    "b": 139
  },
  "hsl": {
    "h": 218.447,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41571,
    "c": 0.11789,
    "h": 261
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

primary
#24498B
secondary
#B79453
accent
#AA46E2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #24498B

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

Preview Lab → · Contrast checker → · Palette generator →

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