#24319A#24319A

#24319A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.169 H 270.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#24319A
RGBrgb(36, 49, 154)
HSLhsl(233, 62%, 37%)
HSVhsv(233, 77%, 60%)
CMYKcmyk(76.6%, 68.2%, 0%, 39.6%)
CIE-LABlab(26.46, 32.93, -58.52)
CIE-LCHlch(26.46, 67.15, 299.36°)
OKLaboklab(37.93% 0.0007 -0.1693)
OKLCHoklch(37.93% 0.169 270.2)
XYZxyz(7.6566, 4.9040, 31.1086)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24319A #9A8D24
analogous
#246C9A #24319A #52249A
triadic
#24319A #9A2431 #319A24
tetradic
#24319A #9A246C #9A8D24 #249A52
square
#24319A #9A246C #9A8D24 #249A52
split-complementary
#24319A #9A5224 #6C9A24
monochromatic
#0D1137 #182168 #24319A #3041CC #5F6CDA

Accessibility & contrast

On white

10.60
#24319A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#24319A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24319A
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24319A#FFFFFF#000000##FFFFFF
##24319A1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #24319a;
/* rgb */ color: rgb(36, 49, 154);
/* oklch */ color: oklch(37.9% 0.169 270.2);
Tailwind
colors: {
  custom: {
    50: '#7269b9',
    500: '#24319a',
    950: '#000000',
  },
}
SCSS
$custom: #24319a;
$custom-light: #7269b9;
$custom-dark: #000000;
JSON
{
  "hex": "#24319a",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 233.39,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37932,
    "c": 0.16932,
    "h": 270.2
  },
  "luminance": 0.04905
}

Semantic roles & 50–950 ramp

primary
#24319A
secondary
#BFB45B
accent
#D343E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #24319A

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

Preview Lab → · Contrast checker → · Palette generator →

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