#24478A#24478A

#24478A is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.0% C 0.119 H 261.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#24478A
RGBrgb(36, 71, 138)
HSLhsl(219, 59%, 34%)
HSVhsv(219, 74%, 54%)
CMYKcmyk(73.9%, 48.6%, 0%, 45.9%)
CIE-LABlab(31.15, 11.86, -41.07)
CIE-LCHlch(31.15, 42.75, 286.10°)
OKLaboklab(41.04% -0.0168 -0.1178)
OKLCHoklch(41.04% 0.119 261.9)
XYZxyz(7.5666, 6.7157, 24.9373)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24478A #8A6724
analogous
#247A8A #24478A #34248A
triadic
#24478A #8A2447 #478A24
tetradic
#24478A #8A247A #8A6724 #248A34
square
#24478A #8A247A #8A6724 #248A34
split-complementary
#24478A #8A3424 #7A8A24
monochromatic
#0B1529 #172E59 #24478A #3160BB #5681D3

Accessibility & contrast

On white

8.96
#24478A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#24478A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24478A
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24478A#FFFFFF#000000##FFFFFF
##24478A1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234E8C
Deuteranopia (green-blind)
#094589
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #24478a;
/* rgb */ color: rgb(36, 71, 138);
/* oklch */ color: oklch(41.0% 0.119 261.9);
Tailwind
colors: {
  custom: {
    50: '#6d79ad',
    500: '#24478a',
    950: '#000000',
  },
}
SCSS
$custom: #24478a;
$custom-light: #6d79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#24478a",
  "rgb": {
    "r": 36,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 219.412,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41039,
    "c": 0.11898,
    "h": 261.9
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

primary
#24478A
secondary
#B79553
accent
#AC46E2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #24478A

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

Preview Lab → · Contrast checker → · Palette generator →

#24478A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva