#24378E#24378E

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

Color values

HEX#24378E
RGBrgb(36, 55, 142)
HSLhsl(229, 60%, 35%)
HSVhsv(229, 75%, 56%)
CMYKcmyk(74.6%, 61.3%, 0%, 44.3%)
CIE-LABlab(26.90, 24.40, -50.42)
CIE-LCHlch(26.90, 56.01, 295.82°)
OKLaboklab(37.92% -0.0029 -0.1455)
OKLCHoklch(37.92% 0.146 268.9)
XYZxyz(6.9745, 5.0597, 26.1950)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24378E #8E7B24
analogous
#246C8E #24378E #46248E
triadic
#24378E #8E2437 #378E24
tetradic
#24378E #8E246C #8E7B24 #248E46
square
#24378E #8E246C #8E7B24 #248E46
split-complementary
#24378E #8E4624 #6C8E24
monochromatic
#0B112C #18245D #24378E #304ABF #586ED5

Accessibility & contrast

On white

10.44
#24378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24378E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24378E#FFFFFF#000000##FFFFFF
##24378E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24378e;
/* rgb */ color: rgb(36, 55, 142);
/* oklch */ color: oklch(37.9% 0.146 268.9);
Tailwind
colors: {
  custom: {
    50: '#6f6db0',
    500: '#24378e',
    950: '#000000',
  },
}
SCSS
$custom: #24378e;
$custom-light: #6f6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#24378e",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 229.245,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37925,
    "c": 0.14556,
    "h": 268.9
  },
  "luminance": 0.0506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24378E

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

Preview Lab → · Contrast checker → · Palette generator →

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