#24498E#24498E

#24498E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.8% C 0.122 H 261.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#24498E
RGBrgb(36, 73, 142)
HSLhsl(219, 60%, 35%)
HSVhsv(219, 75%, 56%)
CMYKcmyk(74.6%, 48.6%, 0%, 44.3%)
CIE-LABlab(32.02, 12.07, -42.14)
CIE-LCHlch(32.02, 43.83, 285.99°)
OKLaboklab(41.79% -0.018 -0.1209)
OKLCHoklch(41.79% 0.122 261.5)
XYZxyz(7.9908, 7.0923, 26.5338)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24498E #8E6924
analogous
#247E8E #24498E #34248E
triadic
#24498E #8E2449 #498E24
tetradic
#24498E #8E247E #8E6924 #248E34
square
#24498E #8E247E #8E6924 #248E34
split-complementary
#24498E #8E3424 #7E8E24
monochromatic
#0B172C #18305D #24498E #3062BF #5883D5

Accessibility & contrast

On white

8.68
#24498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24498E
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24498E#FFFFFF#000000##FFFFFF
##24498E1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245091
Deuteranopia (green-blind)
#07478D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #24498e;
/* rgb */ color: rgb(36, 73, 142);
/* oklch */ color: oklch(41.8% 0.122 261.5);
Tailwind
colors: {
  custom: {
    50: '#6e7baf',
    500: '#24498e',
    950: '#000000',
  },
}
SCSS
$custom: #24498e;
$custom-light: #6e7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#24498e",
  "rgb": {
    "r": 36,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 219.057,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4179,
    "c": 0.12222,
    "h": 261.5
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24498E

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

Preview Lab → · Contrast checker → · Palette generator →

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