#24378F#24378F

#24378F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.147 H 268.9°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#24378F
RGBrgb(36, 55, 143)
HSLhsl(229, 60%, 35%)
HSVhsv(229, 75%, 56%)
CMYKcmyk(74.8%, 61.5%, 0%, 43.9%)
CIE-LABlab(26.99, 24.78, -50.90)
CIE-LCHlch(26.99, 56.61, 295.96°)
OKLaboklab(38.02% -0.0029 -0.1469)
OKLCHoklch(38.02% 0.147 268.9)
XYZxyz(7.0500, 5.0899, 26.5922)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24378F #8F7C24
analogous
#246C8F #24378F #47248F
triadic
#24378F #8F2437 #378F24
tetradic
#24378F #8F246C #8F7C24 #248F47
square
#24378F #8F246C #8F7C24 #248F47
split-complementary
#24378F #8F4724 #6C8F24
monochromatic
#0B112D #18245E #24378F #304AC0 #586ED5

Accessibility & contrast

On white

10.41
#24378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#24378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24378F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24378F#FFFFFF#000000##FFFFFF
##24378F1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #24378f;
/* rgb */ color: rgb(36, 55, 143);
/* oklch */ color: oklch(38.0% 0.147 268.9);
Tailwind
colors: {
  custom: {
    50: '#6f6db1',
    500: '#24378f',
    950: '#000000',
  },
}
SCSS
$custom: #24378f;
$custom-light: #6f6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#24378f",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 229.346,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38015,
    "c": 0.14697,
    "h": 268.9
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#24378F
secondary
#B9A855
accent
#C745E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #24378F

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

Preview Lab → · Contrast checker → · Palette generator →

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