#24308D#24308D

#24308D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.153 H 270.8°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#24308D
RGBrgb(36, 48, 141)
HSLhsl(233, 59%, 35%)
HSVhsv(233, 74%, 55%)
CMYKcmyk(74.5%, 66%, 0%, 44.7%)
CIE-LABlab(24.99, 28.75, -52.93)
CIE-LCHlch(24.99, 60.23, 298.51°)
OKLaboklab(36.48% 0.0023 -0.153)
OKLCHoklch(36.48% 0.153 270.8)
XYZxyz(6.5906, 4.4114, 25.6983)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24308D #8D8124
analogous
#24658D #24308D #4D248D
triadic
#24308D #8D2430 #308D24
tetradic
#24308D #8D2465 #8D8124 #248D4D
square
#24308D #8D2465 #8D8124 #248D4D
split-complementary
#24308D #8D4D24 #658D24
monochromatic
#0B0F2B #181F5C #24308D #3041BE #5766D4

Accessibility & contrast

On white

11.16
#24308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24308D
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24308D#FFFFFF#000000##FFFFFF
##24308D1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #24308d;
/* rgb */ color: rgb(36, 48, 141);
/* oklch */ color: oklch(36.5% 0.153 270.8);
Tailwind
colors: {
  custom: {
    50: '#6f68af',
    500: '#24308d',
    950: '#000000',
  },
}
SCSS
$custom: #24308d;
$custom-light: #6f68af;
$custom-dark: #000000;
JSON
{
  "hex": "#24308d",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 233.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36483,
    "c": 0.15299,
    "h": 270.8
  },
  "luminance": 0.04412
}

Semantic roles & 50–950 ramp

primary
#24308D
secondary
#B8AD54
accent
#D145E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #24308D

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

Preview Lab → · Contrast checker → · Palette generator →

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