#24399E#24399E

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

Color values

HEX#24399E
RGBrgb(36, 57, 158)
HSLhsl(230, 63%, 38%)
HSVhsv(230, 77%, 62%)
CMYKcmyk(77.2%, 63.9%, 0%, 38%)
CIE-LABlab(28.82, 29.16, -57.08)
CIE-LCHlch(28.82, 64.10, 297.06°)
OKLaboklab(39.78% -0.0045 -0.1651)
OKLCHoklch(39.78% 0.165 268.5)
XYZxyz(8.3601, 5.7690, 33.0141)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24399E #9E8924
analogous
#24769E #24399E #4C249E
triadic
#24399E #9E2439 #399E24
tetradic
#24399E #9E2476 #9E8924 #249E4C
square
#24399E #9E2476 #9E8924 #249E4C
split-complementary
#24399E #9E4C24 #769E24
monochromatic
#0D153A #19276C #24399E #2F4BD0 #6176DB

Accessibility & contrast

On white

9.75
#24399E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#24399E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24399E
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24399E#FFFFFF#000000##FFFFFF
##24399E1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #24399e;
/* rgb */ color: rgb(36, 57, 158);
/* oklch */ color: oklch(39.8% 0.165 268.5);
Tailwind
colors: {
  custom: {
    50: '#736fbc',
    500: '#24399e',
    950: '#000000',
  },
}
SCSS
$custom: #24399e;
$custom-light: #736fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#24399e",
  "rgb": {
    "r": 36,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 229.672,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39777,
    "c": 0.16512,
    "h": 268.5
  },
  "luminance": 0.0577
}

Semantic roles & 50–950 ramp

primary
#24399E
secondary
#C0AF5E
accent
#CA42E6
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #24399E

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

Preview Lab → · Contrast checker → · Palette generator →

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