#24498F#24498F

#24498F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.124 H 261.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#24498F
RGBrgb(36, 73, 143)
HSLhsl(219, 60%, 35%)
HSVhsv(219, 75%, 56%)
CMYKcmyk(74.8%, 49%, 0%, 43.9%)
CIE-LABlab(32.08, 12.47, -42.64)
CIE-LCHlch(32.08, 44.43, 286.30°)
OKLaboklab(41.86% -0.0179 -0.1224)
OKLCHoklch(41.86% 0.124 261.7)
XYZxyz(8.0662, 7.1224, 26.9309)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24498F #8F6A24
analogous
#247F8F #24498F #34248F
triadic
#24498F #8F2449 #498F24
tetradic
#24498F #8F247F #8F6A24 #248F34
square
#24498F #8F247F #8F6A24 #248F34
split-complementary
#24498F #8F3424 #7F8F24
monochromatic
#0B172D #18305E #24498F #3062C0 #5883D5

Accessibility & contrast

On white

8.66
#24498F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#24498F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24498F
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24498F#FFFFFF#000000##FFFFFF
##24498F1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#04478E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #24498f;
/* rgb */ color: rgb(36, 73, 143);
/* oklch */ color: oklch(41.9% 0.124 261.7);
Tailwind
colors: {
  custom: {
    50: '#6e7bb0',
    500: '#24498f',
    950: '#000000',
  },
}
SCSS
$custom: #24498f;
$custom-light: #6e7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#24498f",
  "rgb": {
    "r": 36,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 219.252,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41864,
    "c": 0.12366,
    "h": 261.7
  },
  "luminance": 0.07123
}

Semantic roles & 50–950 ramp

primary
#24498F
secondary
#B99755
accent
#AC45E3
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #24498F

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

Preview Lab → · Contrast checker → · Palette generator →

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