#24478C#24478C

#24478C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.122 H 262.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#24478C
RGBrgb(36, 71, 140)
HSLhsl(220, 59%, 35%)
HSVhsv(220, 74%, 55%)
CMYKcmyk(74.3%, 49.3%, 0%, 45.1%)
CIE-LABlab(31.29, 12.64, -42.08)
CIE-LCHlch(31.29, 43.94, 286.72°)
OKLaboklab(41.19% -0.0165 -0.1208)
OKLCHoklch(41.19% 0.122 262.2)
XYZxyz(7.7127, 6.7742, 25.7069)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24478C #8C6924
analogous
#247B8C #24478C #35248C
triadic
#24478C #8C2447 #478C24
tetradic
#24478C #8C247B #8C6924 #248C35
square
#24478C #8C247B #8C6924 #248C35
split-complementary
#24478C #8C3524 #7B8C24
monochromatic
#0B162B #172E5B #24478C #3160BD #5781D4

Accessibility & contrast

On white

8.92
#24478C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24478C
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24478C#FFFFFF#000000##FFFFFF
##24478C1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F8F
Deuteranopia (green-blind)
#03458B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #24478c;
/* rgb */ color: rgb(36, 71, 140);
/* oklch */ color: oklch(41.2% 0.122 262.2);
Tailwind
colors: {
  custom: {
    50: '#6d79ae',
    500: '#24478c',
    950: '#000000',
  },
}
SCSS
$custom: #24478c;
$custom-light: #6d79ae;
$custom-dark: #000000;
JSON
{
  "hex": "#24478c",
  "rgb": {
    "r": 36,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 219.808,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41188,
    "c": 0.12188,
    "h": 262.2
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#24478C
secondary
#B89654
accent
#AE46E2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #24478C

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

Preview Lab → · Contrast checker → · Palette generator →

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