#24308F#24308F

#24308F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.156 H 270.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#24308F
RGBrgb(36, 48, 143)
HSLhsl(233, 60%, 35%)
HSVhsv(233, 75%, 56%)
CMYKcmyk(74.8%, 66.4%, 0%, 43.9%)
CIE-LABlab(25.17, 29.50, -53.87)
CIE-LCHlch(25.17, 61.41, 298.70°)
OKLaboklab(36.68% 0.0021 -0.1557)
OKLCHoklch(36.68% 0.156 270.8)
XYZxyz(6.7407, 4.4714, 26.4891)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24308F #8F8324
analogous
#24668F #24308F #4D248F
triadic
#24308F #8F2430 #308F24
tetradic
#24308F #8F2466 #8F8324 #248F4D
square
#24308F #8F2466 #8F8324 #248F4D
split-complementary
#24308F #8F4D24 #668F24
monochromatic
#0B0F2D #18205E #24308F #3040C0 #5866D5

Accessibility & contrast

On white

11.09
#24308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#24308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24308F
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24308F#FFFFFF#000000##FFFFFF
##24308F1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #24308f;
/* rgb */ color: rgb(36, 48, 143);
/* oklch */ color: oklch(36.7% 0.156 270.8);
Tailwind
colors: {
  custom: {
    50: '#7068b1',
    500: '#24308f',
    950: '#000000',
  },
}
SCSS
$custom: #24308f;
$custom-light: #7068b1;
$custom-dark: #000000;
JSON
{
  "hex": "#24308f",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 233.271,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36675,
    "c": 0.15572,
    "h": 270.8
  },
  "luminance": 0.04472
}

Semantic roles & 50–950 ramp

primary
#24308F
secondary
#B9AE55
accent
#D145E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #24308F

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

Preview Lab → · Contrast checker → · Palette generator →

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