#24318B#24318B

#24318B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.149 H 270.6°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#24318B
RGBrgb(36, 49, 139)
HSLhsl(232, 59%, 34%)
HSVhsv(232, 74%, 55%)
CMYKcmyk(74.1%, 64.7%, 0%, 45.5%)
CIE-LABlab(25.06, 27.32, -51.57)
CIE-LCHlch(25.06, 58.36, 297.91°)
OKLaboklab(36.48% 0.0016 -0.149)
OKLCHoklch(36.48% 0.149 270.6)
XYZxyz(6.4845, 4.4351, 24.9354)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24318B #8B7E24
analogous
#24658B #24318B #4B248B
triadic
#24318B #8B2431 #318B24
tetradic
#24318B #8B2465 #8B7E24 #248B4B
square
#24318B #8B2465 #8B7E24 #248B4B
split-complementary
#24318B #8B4B24 #658B24
monochromatic
#0B0F2A #17205A #24318B #3142BC #5666D3

Accessibility & contrast

On white

11.13
#24318B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#24318B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24318B
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24318B#FFFFFF#000000##FFFFFF
##24318B1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #24318b;
/* rgb */ color: rgb(36, 49, 139);
/* oklch */ color: oklch(36.5% 0.149 270.6);
Tailwind
colors: {
  custom: {
    50: '#6f69ae',
    500: '#24318b',
    950: '#000000',
  },
}
SCSS
$custom: #24318b;
$custom-light: #6f69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#24318b",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 232.427,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3648,
    "c": 0.14899,
    "h": 270.6
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

primary
#24318B
secondary
#B7AB53
accent
#CE46E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #24318B

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

Preview Lab → · Contrast checker → · Palette generator →

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