#24308A#24308A

#24308A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.149 H 270.9°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#24308A
RGBrgb(36, 48, 138)
HSLhsl(233, 59%, 34%)
HSVhsv(233, 74%, 54%)
CMYKcmyk(73.9%, 65.2%, 0%, 45.9%)
CIE-LABlab(24.71, 27.62, -51.52)
CIE-LCHlch(24.71, 58.45, 298.19°)
OKLaboklab(36.2% 0.0024 -0.1488)
OKLCHoklch(36.2% 0.149 270.9)
XYZxyz(6.3704, 4.3233, 24.5386)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24308A #8A7E24
analogous
#24638A #24308A #4B248A
triadic
#24308A #8A2430 #308A24
tetradic
#24308A #8A2463 #8A7E24 #248A4B
square
#24308A #8A2463 #8A7E24 #248A4B
split-complementary
#24308A #8A4B24 #638A24
monochromatic
#0B0E29 #171F59 #24308A #3141BB #5664D3

Accessibility & contrast

On white

11.26
#24308A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#24308A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24308A
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24308A#FFFFFF#000000##FFFFFF
##24308A1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #24308a;
/* rgb */ color: rgb(36, 48, 138);
/* oklch */ color: oklch(36.2% 0.149 270.9);
Tailwind
colors: {
  custom: {
    50: '#6e68ad',
    500: '#24308a',
    950: '#000000',
  },
}
SCSS
$custom: #24308a;
$custom-light: #6e68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#24308a",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 232.941,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36196,
    "c": 0.14885,
    "h": 270.9
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#24308A
secondary
#B7AB53
accent
#CF46E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #24308A

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

Preview Lab → · Contrast checker → · Palette generator →

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