#24318D#24318D

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

Color values

HEX#24318D
RGBrgb(36, 49, 141)
HSLhsl(233, 59%, 35%)
HSVhsv(233, 74%, 55%)
CMYKcmyk(74.5%, 65.2%, 0%, 44.7%)
CIE-LABlab(25.24, 28.08, -52.51)
CIE-LCHlch(25.24, 59.55, 298.13°)
OKLaboklab(36.67% 0.0016 -0.1517)
OKLCHoklch(36.67% 0.152 270.6)
XYZxyz(6.6319, 4.4941, 25.7121)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24318D #8D8024
analogous
#24668D #24318D #4B248D
triadic
#24318D #8D2431 #318D24
tetradic
#24318D #8D2466 #8D8024 #248D4B
square
#24318D #8D2466 #8D8024 #248D4B
split-complementary
#24318D #8D4B24 #668D24
monochromatic
#0B0F2B #18205C #24318D #3042BE #5767D4

Accessibility & contrast

On white

11.06
#24318D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#24318D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24318D
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24318D#FFFFFF#000000##FFFFFF
##24318D1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24318d;
/* rgb */ color: rgb(36, 49, 141);
/* oklch */ color: oklch(36.7% 0.152 270.6);
Tailwind
colors: {
  custom: {
    50: '#6f69af',
    500: '#24318d',
    950: '#000000',
  },
}
SCSS
$custom: #24318d;
$custom-light: #6f69af;
$custom-dark: #000000;
JSON
{
  "hex": "#24318d",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 232.571,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36669,
    "c": 0.15175,
    "h": 270.6
  },
  "luminance": 0.04495
}

Semantic roles & 50–950 ramp

primary
#24318D
secondary
#B8AC54
accent
#CF45E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #24318D

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

Preview Lab → · Contrast checker → · Palette generator →

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