#24309C#24309C

#24309C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.173 H 270.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#24309C
RGBrgb(36, 48, 156)
HSLhsl(234, 63%, 38%)
HSVhsv(234, 77%, 61%)
CMYKcmyk(76.9%, 69.2%, 0%, 38.8%)
CIE-LABlab(26.41, 34.30, -59.82)
CIE-LCHlch(26.41, 68.95, 299.83°)
OKLaboklab(37.96% 0.001 -0.1731)
OKLCHoklch(37.96% 0.173 270.3)
XYZxyz(7.7832, 4.8884, 31.9794)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24309C #9C9024
analogous
#246C9C #24309C #54249C
triadic
#24309C #9C2430 #309C24
tetradic
#24309C #9C246C #9C9024 #249C54
square
#24309C #9C246C #9C9024 #249C54
split-complementary
#24309C #9C5424 #6C9C24
monochromatic
#0D1139 #19216A #24309C #2F3FCE #606CDA

Accessibility & contrast

On white

10.62
#24309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#24309C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24309C
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24309C#FFFFFF#000000##FFFFFF
##24309C1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24309c;
/* rgb */ color: rgb(36, 48, 156);
/* oklch */ color: oklch(38.0% 0.173 270.3);
Tailwind
colors: {
  custom: {
    50: '#7368ba',
    500: '#24309c',
    950: '#000000',
  },
}
SCSS
$custom: #24309c;
$custom-light: #7368ba;
$custom-dark: #000000;
JSON
{
  "hex": "#24309c",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 234,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37959,
    "c": 0.17311,
    "h": 270.3
  },
  "luminance": 0.04889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24309C

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

Preview Lab → · Contrast checker → · Palette generator →

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