#24399A#24399A

#24399A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.160 H 268.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#24399A
RGBrgb(36, 57, 154)
HSLhsl(229, 62%, 37%)
HSVhsv(229, 77%, 60%)
CMYKcmyk(76.6%, 63%, 0%, 39.6%)
CIE-LABlab(28.47, 27.64, -55.23)
CIE-LCHlch(28.47, 61.76, 296.59°)
OKLaboklab(39.41% -0.0044 -0.1596)
OKLCHoklch(39.41% 0.16 268.4)
XYZxyz(8.0214, 5.6335, 31.2302)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24399A #9A8524
analogous
#24749A #24399A #4A249A
triadic
#24399A #9A2439 #399A24
tetradic
#24399A #9A2474 #9A8524 #249A4A
square
#24399A #9A2474 #9A8524 #249A4A
split-complementary
#24399A #9A4A24 #749A24
monochromatic
#0D1437 #182768 #24399A #304BCC #5F75DA

Accessibility & contrast

On white

9.87
#24399A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24399A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24399A#FFFFFF#000000##FFFFFF
##24399A1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24399a;
/* rgb */ color: rgb(36, 57, 154);
/* oklch */ color: oklch(39.4% 0.160 268.4);
Tailwind
colors: {
  custom: {
    50: '#726fb9',
    500: '#24399a',
    950: '#000000',
  },
}
SCSS
$custom: #24399a;
$custom-light: #726fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#24399a",
  "rgb": {
    "r": 36,
    "g": 57,
    "b": 154
  },
  "hsl": {
    "h": 229.322,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39407,
    "c": 0.15968,
    "h": 268.4
  },
  "luminance": 0.05634
}

Semantic roles & 50–950 ramp

primary
#24399A
secondary
#BFAD5B
accent
#C843E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #24399A

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

Preview Lab → · Contrast checker → · Palette generator →

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