#24399C#24399C

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

Color values

HEX#24399C
RGBrgb(36, 57, 156)
HSLhsl(230, 63%, 38%)
HSVhsv(230, 77%, 61%)
CMYKcmyk(76.9%, 63.5%, 0%, 38.8%)
CIE-LABlab(28.64, 28.41, -56.16)
CIE-LCHlch(28.64, 62.93, 296.83°)
OKLaboklab(39.59% -0.0044 -0.1623)
OKLCHoklch(39.59% 0.162 268.4)
XYZxyz(8.1894, 5.7007, 32.1148)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24399C #9C8724
analogous
#24759C #24399C #4B249C
triadic
#24399C #9C2439 #399C24
tetradic
#24399C #9C2475 #9C8724 #249C4B
square
#24399C #9C2475 #9C8724 #249C4B
split-complementary
#24399C #9C4B24 #759C24
monochromatic
#0D1539 #19276A #24399C #2F4BCE #6075DA

Accessibility & contrast

On white

9.81
#24399C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#24399C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24399C
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24399C#FFFFFF#000000##FFFFFF
##24399C1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #24399c;
/* rgb */ color: rgb(36, 57, 156);
/* oklch */ color: oklch(39.6% 0.162 268.4);
Tailwind
colors: {
  custom: {
    50: '#726fba',
    500: '#24399c',
    950: '#000000',
  },
}
SCSS
$custom: #24399c;
$custom-light: #726fba;
$custom-dark: #000000;
JSON
{
  "hex": "#24399c",
  "rgb": {
    "r": 36,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 229.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39592,
    "c": 0.16241,
    "h": 268.4
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#24399C
secondary
#BFAE5C
accent
#C942E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #24399C

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

Preview Lab → · Contrast checker → · Palette generator →

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