#24308B#24308B

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

Color values

HEX#24308B
RGBrgb(36, 48, 139)
HSLhsl(233, 59%, 34%)
HSVhsv(233, 74%, 55%)
CMYKcmyk(74.1%, 65.5%, 0%, 45.5%)
CIE-LABlab(24.80, 27.99, -51.99)
CIE-LCHlch(24.80, 59.05, 298.30°)
OKLaboklab(36.29% 0.0024 -0.1502)
OKLCHoklch(36.29% 0.15 270.9)
XYZxyz(6.4431, 4.3524, 24.9216)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24308B #8B7F24
analogous
#24648B #24308B #4C248B
triadic
#24308B #8B2430 #308B24
tetradic
#24308B #8B2464 #8B7F24 #248B4C
square
#24308B #8B2464 #8B7F24 #248B4C
split-complementary
#24308B #8B4C24 #648B24
monochromatic
#0B0E2A #171F5A #24308B #3141BC #5665D3

Accessibility & contrast

On white

11.23
#24308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#24308B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24308B
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24308B#FFFFFF#000000##FFFFFF
##24308B1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #24308b;
/* rgb */ color: rgb(36, 48, 139);
/* oklch */ color: oklch(36.3% 0.150 270.9);
Tailwind
colors: {
  custom: {
    50: '#6f68ae',
    500: '#24308b',
    950: '#000000',
  },
}
SCSS
$custom: #24308b;
$custom-light: #6f68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#24308b",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 233.01,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36291,
    "c": 0.15024,
    "h": 270.9
  },
  "luminance": 0.04353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24308B

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

Preview Lab → · Contrast checker → · Palette generator →

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