#24318E#24318E

#24318E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.153 H 270.6°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#24318E
RGBrgb(36, 49, 142)
HSLhsl(233, 60%, 35%)
HSVhsv(233, 75%, 56%)
CMYKcmyk(74.6%, 65.5%, 0%, 44.3%)
CIE-LABlab(25.33, 28.45, -52.98)
CIE-LCHlch(25.33, 60.14, 298.24°)
OKLaboklab(36.77% 0.0015 -0.1531)
OKLCHoklch(36.77% 0.153 270.6)
XYZxyz(6.7067, 4.5240, 26.1057)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24318E #8E8124
analogous
#24668E #24318E #4C248E
triadic
#24318E #8E2431 #318E24
tetradic
#24318E #8E2466 #8E8124 #248E4C
square
#24318E #8E2466 #8E8124 #248E4C
split-complementary
#24318E #8E4C24 #668E24
monochromatic
#0B0F2C #18205D #24318E #3042BF #5867D5

Accessibility & contrast

On white

11.02
#24318E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#24318E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24318E
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24318E#FFFFFF#000000##FFFFFF
##24318E1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #24318e;
/* rgb */ color: rgb(36, 49, 142);
/* oklch */ color: oklch(36.8% 0.153 270.6);
Tailwind
colors: {
  custom: {
    50: '#6f69b0',
    500: '#24318e',
    950: '#000000',
  },
}
SCSS
$custom: #24318e;
$custom-light: #6f69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24318e",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 232.642,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36765,
    "c": 0.15313,
    "h": 270.6
  },
  "luminance": 0.04525
}

Semantic roles & 50–950 ramp

primary
#24318E
secondary
#B9AD55
accent
#CF45E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #24318E

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

Preview Lab → · Contrast checker → · Palette generator →

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