#24378D#24378D

#24378D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.144 H 268.9°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#24378D
RGBrgb(36, 55, 141)
HSLhsl(229, 59%, 35%)
HSVhsv(229, 74%, 55%)
CMYKcmyk(74.5%, 61%, 0%, 44.7%)
CIE-LABlab(26.82, 24.01, -49.94)
CIE-LCHlch(26.82, 55.41, 295.68°)
OKLaboklab(37.84% -0.0029 -0.1441)
OKLCHoklch(37.84% 0.144 268.9)
XYZxyz(6.8998, 5.0298, 25.8014)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24378D #8D7A24
analogous
#246C8D #24378D #46248D
triadic
#24378D #8D2437 #378D24
tetradic
#24378D #8D246C #8D7A24 #248D46
square
#24378D #8D246C #8D7A24 #248D46
split-complementary
#24378D #8D4624 #6C8D24
monochromatic
#0B112B #18245C #24378D #304ABE #576ED4

Accessibility & contrast

On white

10.47
#24378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#24378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24378D
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24378D#FFFFFF#000000##FFFFFF
##24378D1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #24378d;
/* rgb */ color: rgb(36, 55, 141);
/* oklch */ color: oklch(37.8% 0.144 268.9);
Tailwind
colors: {
  custom: {
    50: '#6f6daf',
    500: '#24378d',
    950: '#000000',
  },
}
SCSS
$custom: #24378d;
$custom-light: #6f6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#24378d",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 229.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37836,
    "c": 0.14415,
    "h": 268.9
  },
  "luminance": 0.05031
}

Semantic roles & 50–950 ramp

primary
#24378D
secondary
#B8A654
accent
#C645E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #24378D

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

Preview Lab → · Contrast checker → · Palette generator →

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