#24478E#24478E

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

Color values

HEX#24478E
RGBrgb(36, 71, 142)
HSLhsl(220, 60%, 35%)
HSVhsv(220, 75%, 56%)
CMYKcmyk(74.6%, 50%, 0%, 44.3%)
CIE-LABlab(31.43, 13.43, -43.09)
CIE-LCHlch(31.43, 45.13, 287.31°)
OKLaboklab(41.34% -0.0162 -0.1237)
OKLCHoklch(41.34% 0.125 262.5)
XYZxyz(7.8615, 6.8337, 26.4907)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24478E #8E6B24
analogous
#247C8E #24478E #36248E
triadic
#24478E #8E2447 #478E24
tetradic
#24478E #8E247C #8E6B24 #248E36
square
#24478E #8E247C #8E6B24 #248E36
split-complementary
#24478E #8E3624 #7C8E24
monochromatic
#0B162C #182F5D #24478E #305FBF #5881D5

Accessibility & contrast

On white

8.87
#24478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#24478E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24478E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24478E#FFFFFF#000000##FFFFFF
##24478E1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F91
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #24478e;
/* rgb */ color: rgb(36, 71, 142);
/* oklch */ color: oklch(41.3% 0.125 262.5);
Tailwind
colors: {
  custom: {
    50: '#6e79b0',
    500: '#24478e',
    950: '#000000',
  },
}
SCSS
$custom: #24478e;
$custom-light: #6e79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24478e",
  "rgb": {
    "r": 36,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 220.189,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41338,
    "c": 0.12478,
    "h": 262.5
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#24478E
secondary
#B99855
accent
#AF45E3
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #24478E

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

Preview Lab → · Contrast checker → · Palette generator →

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