#24308C#24308C

#24308C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.152 H 270.9°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#24308C
RGBrgb(36, 48, 140)
HSLhsl(233, 59%, 35%)
HSVhsv(233, 74%, 55%)
CMYKcmyk(74.3%, 65.7%, 0%, 45.1%)
CIE-LABlab(24.90, 28.37, -52.46)
CIE-LCHlch(24.90, 59.64, 298.40°)
OKLaboklab(36.39% 0.0023 -0.1516)
OKLCHoklch(36.39% 0.152 270.9)
XYZxyz(6.5165, 4.3818, 25.3082)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24308C #8C8024
analogous
#24648C #24308C #4C248C
triadic
#24308C #8C2430 #308C24
tetradic
#24308C #8C2464 #8C8024 #248C4C
square
#24308C #8C2464 #8C8024 #248C4C
split-complementary
#24308C #8C4C24 #648C24
monochromatic
#0B0F2B #171F5B #24308C #3141BD #5765D4

Accessibility & contrast

On white

11.19
#24308C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#24308C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24308C
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24308C#FFFFFF#000000##FFFFFF
##24308C1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #24308c;
/* rgb */ color: rgb(36, 48, 140);
/* oklch */ color: oklch(36.4% 0.152 270.9);
Tailwind
colors: {
  custom: {
    50: '#6f68ae',
    500: '#24308c',
    950: '#000000',
  },
}
SCSS
$custom: #24308c;
$custom-light: #6f68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#24308c",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 233.077,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36387,
    "c": 0.15162,
    "h": 270.9
  },
  "luminance": 0.04382
}

Semantic roles & 50–950 ramp

primary
#24308C
secondary
#B8AC54
accent
#D046E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #24308C

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

Preview Lab → · Contrast checker → · Palette generator →

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