#24378A#24378A

#24378A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.140 H 268.8°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#24378A
RGBrgb(36, 55, 138)
HSLhsl(229, 59%, 34%)
HSVhsv(229, 74%, 54%)
CMYKcmyk(73.9%, 60.1%, 0%, 45.9%)
CIE-LABlab(26.57, 22.85, -48.49)
CIE-LCHlch(26.57, 53.60, 295.24°)
OKLaboklab(37.57% -0.0029 -0.1399)
OKLCHoklch(37.57% 0.14 268.8)
XYZxyz(6.6796, 4.9417, 24.6417)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24378A #8A7724
analogous
#246A8A #24378A #44248A
triadic
#24378A #8A2437 #378A24
tetradic
#24378A #8A246A #8A7724 #248A44
square
#24378A #8A246A #8A7724 #248A44
split-complementary
#24378A #8A4424 #6A8A24
monochromatic
#0B1029 #172459 #24378A #314ABB #566DD3

Accessibility & contrast

On white

10.56
#24378A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24378A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24378A#FFFFFF#000000##FFFFFF
##24378A1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24378a;
/* rgb */ color: rgb(36, 55, 138);
/* oklch */ color: oklch(37.6% 0.140 268.8);
Tailwind
colors: {
  custom: {
    50: '#6e6dad',
    500: '#24378a',
    950: '#000000',
  },
}
SCSS
$custom: #24378a;
$custom-light: #6e6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#24378a",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 138
  },
  "hsl": {
    "h": 228.824,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3757,
    "c": 0.13989,
    "h": 268.8
  },
  "luminance": 0.04942
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24378A

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

Preview Lab → · Contrast checker → · Palette generator →

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