#24378B#24378B

#24378B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.141 H 268.8°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#24378B
RGBrgb(36, 55, 139)
HSLhsl(229, 59%, 34%)
HSVhsv(229, 74%, 55%)
CMYKcmyk(74.1%, 60.4%, 0%, 45.5%)
CIE-LABlab(26.65, 23.24, -48.97)
CIE-LCHlch(26.65, 54.21, 295.39°)
OKLaboklab(37.66% -0.0029 -0.1413)
OKLCHoklch(37.66% 0.141 268.8)
XYZxyz(6.7523, 4.9708, 25.0247)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24378B #8B7824
analogous
#246B8B #24378B #45248B
triadic
#24378B #8B2437 #378B24
tetradic
#24378B #8B246B #8B7824 #248B45
square
#24378B #8B246B #8B7824 #248B45
split-complementary
#24378B #8B4524 #6B8B24
monochromatic
#0B112A #17245A #24378B #314ABC #566DD3

Accessibility & contrast

On white

10.53
#24378B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#24378B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24378B
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24378B#FFFFFF#000000##FFFFFF
##24378B1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #24378b;
/* rgb */ color: rgb(36, 55, 139);
/* oklch */ color: oklch(37.7% 0.141 268.8);
Tailwind
colors: {
  custom: {
    50: '#6e6dae',
    500: '#24378b',
    950: '#000000',
  },
}
SCSS
$custom: #24378b;
$custom-light: #6e6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#24378b",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 228.932,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37658,
    "c": 0.14132,
    "h": 268.8
  },
  "luminance": 0.04972
}

Semantic roles & 50–950 ramp

primary
#24378B
secondary
#B7A553
accent
#C546E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #24378B

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

Preview Lab → · Contrast checker → · Palette generator →

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