#24478D#24478D

#24478D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.123 H 262.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#24478D
RGBrgb(36, 71, 141)
HSLhsl(220, 59%, 35%)
HSVhsv(220, 74%, 55%)
CMYKcmyk(74.5%, 49.6%, 0%, 44.7%)
CIE-LABlab(31.36, 13.04, -42.59)
CIE-LCHlch(31.36, 44.54, 287.02°)
OKLaboklab(41.26% -0.0163 -0.1222)
OKLCHoklch(41.26% 0.123 262.4)
XYZxyz(7.7868, 6.8038, 26.0970)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24478D #8D6A24
analogous
#247C8D #24478D #36248D
triadic
#24478D #8D2447 #478D24
tetradic
#24478D #8D247C #8D6A24 #248D36
square
#24478D #8D247C #8D6A24 #248D36
split-complementary
#24478D #8D3624 #7C8D24
monochromatic
#0B162B #182E5C #24478D #3060BE #5781D4

Accessibility & contrast

On white

8.89
#24478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#24478D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24478D
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24478D#FFFFFF#000000##FFFFFF
##24478D1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F90
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #24478d;
/* rgb */ color: rgb(36, 71, 141);
/* oklch */ color: oklch(41.3% 0.123 262.4);
Tailwind
colors: {
  custom: {
    50: '#6d79af',
    500: '#24478d',
    950: '#000000',
  },
}
SCSS
$custom: #24478d;
$custom-light: #6d79af;
$custom-dark: #000000;
JSON
{
  "hex": "#24478d",
  "rgb": {
    "r": 36,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 220,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41262,
    "c": 0.12333,
    "h": 262.4
  },
  "luminance": 0.06805
}

Semantic roles & 50–950 ramp

primary
#24478D
secondary
#B89754
accent
#AE45E3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #24478D

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

Preview Lab → · Contrast checker → · Palette generator →

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