#24399B#24399B

#24399B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.161 H 268.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#24399B
RGBrgb(36, 57, 155)
HSLhsl(229, 62%, 37%)
HSVhsv(229, 77%, 61%)
CMYKcmyk(76.8%, 63.2%, 0%, 39.2%)
CIE-LABlab(28.56, 28.02, -55.69)
CIE-LCHlch(28.56, 62.35, 296.71°)
OKLaboklab(39.5% -0.0044 -0.161)
OKLCHoklch(39.5% 0.161 268.4)
XYZxyz(8.1050, 5.6670, 31.6707)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24399B #9B8624
analogous
#24749B #24399B #4B249B
triadic
#24399B #9B2439 #399B24
tetradic
#24399B #9B2474 #9B8624 #249B4B
square
#24399B #9B2474 #9B8624 #249B4B
split-complementary
#24399B #9B4B24 #749B24
monochromatic
#0D1438 #182769 #24399B #304BCD #5F75DA

Accessibility & contrast

On white

9.84
#24399B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#24399B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24399B
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24399B#FFFFFF#000000##FFFFFF
##24399B1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #24399b;
/* rgb */ color: rgb(36, 57, 155);
/* oklch */ color: oklch(39.5% 0.161 268.4);
Tailwind
colors: {
  custom: {
    50: '#726fb9',
    500: '#24399b',
    950: '#000000',
  },
}
SCSS
$custom: #24399b;
$custom-light: #726fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#24399b",
  "rgb": {
    "r": 36,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 229.412,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39499,
    "c": 0.16105,
    "h": 268.4
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#24399B
secondary
#BFAD5C
accent
#C942E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #24399B

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

Preview Lab → · Contrast checker → · Palette generator →

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