#24378C#24378C

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

Color values

HEX#24378C
RGBrgb(36, 55, 140)
HSLhsl(229, 59%, 35%)
HSVhsv(229, 74%, 55%)
CMYKcmyk(74.3%, 60.7%, 0%, 45.1%)
CIE-LABlab(26.74, 23.63, -49.45)
CIE-LCHlch(26.74, 54.81, 295.53°)
OKLaboklab(37.75% -0.0029 -0.1427)
OKLCHoklch(37.75% 0.143 268.8)
XYZxyz(6.8257, 5.0002, 25.4113)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24378C #8C7924
analogous
#246B8C #24378C #45248C
triadic
#24378C #8C2437 #378C24
tetradic
#24378C #8C246B #8C7924 #248C45
square
#24378C #8C246B #8C7924 #248C45
split-complementary
#24378C #8C4524 #6B8C24
monochromatic
#0B112B #17245B #24378C #314ABD #576ED4

Accessibility & contrast

On white

10.50
#24378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#24378C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24378C
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24378C#FFFFFF#000000##FFFFFF
##24378C1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #24378c;
/* rgb */ color: rgb(36, 55, 140);
/* oklch */ color: oklch(37.7% 0.143 268.8);
Tailwind
colors: {
  custom: {
    50: '#6e6dae',
    500: '#24378c',
    950: '#000000',
  },
}
SCSS
$custom: #24378c;
$custom-light: #6e6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#24378c",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 229.038,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37747,
    "c": 0.14274,
    "h": 268.8
  },
  "luminance": 0.05001
}

Semantic roles & 50–950 ramp

primary
#24378C
secondary
#B8A654
accent
#C646E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #24378C

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

Preview Lab → · Contrast checker → · Palette generator →

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