#24379A#24379A

#24379A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.162 H 268.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#24379A
RGBrgb(36, 55, 154)
HSLhsl(230, 62%, 37%)
HSVhsv(230, 77%, 60%)
CMYKcmyk(76.6%, 64.3%, 0%, 39.6%)
CIE-LABlab(27.95, 28.98, -56.07)
CIE-LCHlch(27.95, 63.12, 297.33°)
OKLaboklab(39.03% -0.0031 -0.1621)
OKLCHoklch(39.03% 0.162 268.9)
XYZxyz(7.9245, 5.4397, 31.1979)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24379A #9A8724
analogous
#24729A #24379A #4C249A
triadic
#24379A #9A2437 #379A24
tetradic
#24379A #9A2472 #9A8724 #249A4C
square
#24379A #9A2472 #9A8724 #249A4C
split-complementary
#24379A #9A4C24 #729A24
monochromatic
#0D1437 #182568 #24379A #3049CC #5F73DA

Accessibility & contrast

On white

10.06
#24379A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#24379A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24379A
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24379A#FFFFFF#000000##FFFFFF
##24379A1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #24379a;
/* rgb */ color: rgb(36, 55, 154);
/* oklch */ color: oklch(39.0% 0.162 268.9);
Tailwind
colors: {
  custom: {
    50: '#726db9',
    500: '#24379a',
    950: '#000000',
  },
}
SCSS
$custom: #24379a;
$custom-light: #726db9;
$custom-dark: #000000;
JSON
{
  "hex": "#24379a",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 230.339,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39026,
    "c": 0.16215,
    "h": 268.9
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#24379A
secondary
#BFAF5B
accent
#CB43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #24379A

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

Preview Lab → · Contrast checker → · Palette generator →

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