#24319D#24319D

#24319D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.173 H 270.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#24319D
RGBrgb(36, 49, 157)
HSLhsl(234, 63%, 38%)
HSVhsv(234, 77%, 62%)
CMYKcmyk(77.1%, 68.8%, 0%, 38.4%)
CIE-LABlab(26.75, 34.03, -59.87)
CIE-LCHlch(26.75, 68.87, 299.61°)
OKLaboklab(38.23% 0.0004 -0.1733)
OKLCHoklch(38.23% 0.173 270.1)
XYZxyz(7.9096, 5.0052, 32.4410)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24319D #9D9024
analogous
#246D9D #24319D #54249D
triadic
#24319D #9D2431 #319D24
tetradic
#24319D #9D246D #9D9024 #249D54
square
#24319D #9D246D #9D9024 #249D54
split-complementary
#24319D #9D5424 #6D9D24
monochromatic
#0D1239 #19216B #24319D #2F41CF #616EDB

Accessibility & contrast

On white

10.49
#24319D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#24319D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24319D
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24319D#FFFFFF#000000##FFFFFF
##24319D1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #24319d;
/* rgb */ color: rgb(36, 49, 157);
/* oklch */ color: oklch(38.2% 0.173 270.1);
Tailwind
colors: {
  custom: {
    50: '#7369bb',
    500: '#24319d',
    950: '#000000',
  },
}
SCSS
$custom: #24319d;
$custom-light: #7369bb;
$custom-dark: #000000;
JSON
{
  "hex": "#24319d",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 233.554,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38232,
    "c": 0.17328,
    "h": 270.1
  },
  "luminance": 0.05006
}

Semantic roles & 50–950 ramp

primary
#24319D
secondary
#C0B55D
accent
#D442E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #24319D

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

Preview Lab → · Contrast checker → · Palette generator →

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