#24399F#24399F

#24399F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.166 H 268.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#24399F
RGBrgb(36, 57, 159)
HSLhsl(230, 63%, 38%)
HSVhsv(230, 77%, 62%)
CMYKcmyk(77.4%, 64.2%, 0%, 37.6%)
CIE-LABlab(28.91, 29.54, -57.54)
CIE-LCHlch(28.91, 64.68, 297.18°)
OKLaboklab(39.87% -0.0045 -0.1664)
OKLCHoklch(39.87% 0.166 268.5)
XYZxyz(8.4465, 5.8036, 33.4692)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24399F #9F8A24
analogous
#24769F #24399F #4C249F
triadic
#24399F #9F2439 #399F24
tetradic
#24399F #9F2476 #9F8A24 #249F4C
square
#24399F #9F2476 #9F8A24 #249F4C
split-complementary
#24399F #9F4C24 #769F24
monochromatic
#0D153B #19276D #24399F #304BD0 #6277DB

Accessibility & contrast

On white

9.72
#24399F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#24399F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24399F
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24399F#FFFFFF#000000##FFFFFF
##24399F1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #24399f;
/* rgb */ color: rgb(36, 57, 159);
/* oklch */ color: oklch(39.9% 0.166 268.5);
Tailwind
colors: {
  custom: {
    50: '#736fbc',
    500: '#24399f',
    950: '#000000',
  },
}
SCSS
$custom: #24399f;
$custom-light: #736fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#24399f",
  "rgb": {
    "r": 36,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 229.756,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39871,
    "c": 0.16647,
    "h": 268.5
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#24399F
secondary
#C1B05E
accent
#CA42E6
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #24399F

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

Preview Lab → · Contrast checker → · Palette generator →

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