#24319C#24319C

#24319C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.172 H 270.2°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#24319C
RGBrgb(36, 49, 156)
HSLhsl(234, 63%, 38%)
HSVhsv(234, 77%, 61%)
CMYKcmyk(76.9%, 68.6%, 0%, 38.8%)
CIE-LABlab(26.65, 33.66, -59.42)
CIE-LCHlch(26.65, 68.30, 299.53°)
OKLaboklab(38.13% 0.0005 -0.172)
OKLCHoklch(38.13% 0.172 270.2)
XYZxyz(7.8246, 4.9711, 31.9932)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24319C #9C8F24
analogous
#246D9C #24319C #53249C
triadic
#24319C #9C2431 #319C24
tetradic
#24319C #9C246D #9C8F24 #249C53
square
#24319C #9C246D #9C8F24 #249C53
split-complementary
#24319C #9C5324 #6D9C24
monochromatic
#0D1239 #19216A #24319C #2F41CE #606DDA

Accessibility & contrast

On white

10.53
#24319C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#24319C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24319C
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24319C#FFFFFF#000000##FFFFFF
##24319C1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #24319c;
/* rgb */ color: rgb(36, 49, 156);
/* oklch */ color: oklch(38.1% 0.172 270.2);
Tailwind
colors: {
  custom: {
    50: '#7369ba',
    500: '#24319c',
    950: '#000000',
  },
}
SCSS
$custom: #24319c;
$custom-light: #7369ba;
$custom-dark: #000000;
JSON
{
  "hex": "#24319c",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 233.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38132,
    "c": 0.17196,
    "h": 270.2
  },
  "luminance": 0.04972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24319C

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

Preview Lab → · Contrast checker → · Palette generator →

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