#24379B#24379B

#24379B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.164 H 268.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#24379B
RGBrgb(36, 55, 155)
HSLhsl(230, 62%, 37%)
HSVhsv(230, 77%, 61%)
CMYKcmyk(76.8%, 64.5%, 0%, 39.2%)
CIE-LABlab(28.04, 29.36, -56.53)
CIE-LCHlch(28.04, 63.70, 297.44°)
OKLaboklab(39.12% -0.0031 -0.1635)
OKLCHoklch(39.12% 0.164 268.9)
XYZxyz(8.0081, 5.4731, 31.6384)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24379B #9B8824
analogous
#24739B #24379B #4C249B
triadic
#24379B #9B2437 #379B24
tetradic
#24379B #9B2473 #9B8824 #249B4C
square
#24379B #9B2473 #9B8824 #249B4C
split-complementary
#24379B #9B4C24 #739B24
monochromatic
#0D1438 #182569 #24379B #3049CD #5F73DA

Accessibility & contrast

On white

10.02
#24379B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24379B
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24379B#FFFFFF#000000##FFFFFF
##24379B1.0010.022.0910.02
#FFFFFF10.021.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #24379b;
/* rgb */ color: rgb(36, 55, 155);
/* oklch */ color: oklch(39.1% 0.164 268.9);
Tailwind
colors: {
  custom: {
    50: '#726db9',
    500: '#24379b',
    950: '#000000',
  },
}
SCSS
$custom: #24379b;
$custom-light: #726db9;
$custom-dark: #000000;
JSON
{
  "hex": "#24379b",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 155
  },
  "hsl": {
    "h": 230.42,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3912,
    "c": 0.1635,
    "h": 268.9
  },
  "luminance": 0.05474
}

Semantic roles & 50–950 ramp

primary
#24379B
secondary
#BFAF5C
accent
#CB42E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #24379B

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

Preview Lab → · Contrast checker → · Palette generator →

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