#24318A#24318A

#24318A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.148 H 270.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#24318A
RGBrgb(36, 49, 138)
HSLhsl(232, 59%, 34%)
HSVhsv(232, 74%, 54%)
CMYKcmyk(73.9%, 64.5%, 0%, 45.9%)
CIE-LABlab(24.97, 26.94, -51.09)
CIE-LCHlch(24.97, 57.76, 297.80°)
OKLaboklab(36.39% 0.0017 -0.1476)
OKLCHoklch(36.39% 0.148 270.7)
XYZxyz(6.4117, 4.4060, 24.5524)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24318A #8A7D24
analogous
#24648A #24318A #4A248A
triadic
#24318A #8A2431 #318A24
tetradic
#24318A #8A2464 #8A7D24 #248A4A
square
#24318A #8A2464 #8A7D24 #248A4A
split-complementary
#24318A #8A4A24 #648A24
monochromatic
#0B0F29 #172059 #24318A #3142BB #5666D3

Accessibility & contrast

On white

11.16
#24318A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#24318A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24318A
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24318A#FFFFFF#000000##FFFFFF
##24318A1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #24318a;
/* rgb */ color: rgb(36, 49, 138);
/* oklch */ color: oklch(36.4% 0.148 270.7);
Tailwind
colors: {
  custom: {
    50: '#6e69ad',
    500: '#24318a',
    950: '#000000',
  },
}
SCSS
$custom: #24318a;
$custom-light: #6e69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#24318a",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 232.353,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36386,
    "c": 0.14759,
    "h": 270.7
  },
  "luminance": 0.04407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24318A

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

Preview Lab → · Contrast checker → · Palette generator →

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