#24309A#24309A

#24309A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.170 H 270.4°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#24309A
RGBrgb(36, 48, 154)
HSLhsl(234, 62%, 37%)
HSVhsv(234, 77%, 60%)
CMYKcmyk(76.6%, 68.8%, 0%, 39.6%)
CIE-LABlab(26.22, 33.57, -58.91)
CIE-LCHlch(26.22, 67.81, 299.68°)
OKLaboklab(37.76% 0.0012 -0.1705)
OKLCHoklch(37.76% 0.17 270.4)
XYZxyz(7.6153, 4.8212, 31.0948)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24309A #9A8E24
analogous
#246B9A #24309A #53249A
triadic
#24309A #9A2430 #309A24
tetradic
#24309A #9A246B #9A8E24 #249A53
square
#24309A #9A246B #9A8E24 #249A53
split-complementary
#24309A #9A5324 #6B9A24
monochromatic
#0D1137 #182168 #24309A #303FCC #5F6BDA

Accessibility & contrast

On white

10.69
#24309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#24309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24309A
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24309A#FFFFFF#000000##FFFFFF
##24309A1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #24309a;
/* rgb */ color: rgb(36, 48, 154);
/* oklch */ color: oklch(37.8% 0.170 270.4);
Tailwind
colors: {
  custom: {
    50: '#7268b9',
    500: '#24309a',
    950: '#000000',
  },
}
SCSS
$custom: #24309a;
$custom-light: #7268b9;
$custom-dark: #000000;
JSON
{
  "hex": "#24309a",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 233.898,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37758,
    "c": 0.17048,
    "h": 270.4
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#24309A
secondary
#BFB45B
accent
#D543E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #24309A

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

Preview Lab → · Contrast checker → · Palette generator →

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