#24309E#24309E

#24309E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.176 H 270.3°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#24309E
RGBrgb(36, 48, 158)
HSLhsl(234, 63%, 38%)
HSVhsv(234, 77%, 62%)
CMYKcmyk(77.2%, 69.6%, 0%, 38%)
CIE-LABlab(26.61, 35.03, -60.71)
CIE-LCHlch(26.61, 70.09, 299.99°)
OKLaboklab(38.16% 0.0008 -0.1757)
OKLCHoklch(38.16% 0.176 270.3)
XYZxyz(7.9540, 4.9567, 32.8787)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24309E #9E9224
analogous
#246D9E #24309E #55249E
triadic
#24309E #9E2430 #309E24
tetradic
#24309E #9E246D #9E9224 #249E55
square
#24309E #9E246D #9E9224 #249E55
split-complementary
#24309E #9E5524 #6D9E24
monochromatic
#0D123A #19216C #24309E #2F3FD0 #616DDB

Accessibility & contrast

On white

10.54
#24309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#24309E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24309E
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24309E#FFFFFF#000000##FFFFFF
##24309E1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #24309e;
/* rgb */ color: rgb(36, 48, 158);
/* oklch */ color: oklch(38.2% 0.176 270.3);
Tailwind
colors: {
  custom: {
    50: '#7369bc',
    500: '#24309e',
    950: '#000000',
  },
}
SCSS
$custom: #24309e;
$custom-light: #7369bc;
$custom-dark: #000000;
JSON
{
  "hex": "#24309e",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 234.098,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38161,
    "c": 0.17572,
    "h": 270.3
  },
  "luminance": 0.04958
}

Semantic roles & 50–950 ramp

primary
#24309E
secondary
#C0B75E
accent
#D642E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #24309E

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

Preview Lab → · Contrast checker → · Palette generator →

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