#24379E#24379E

#24379E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.168 H 268.9°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#24379E
RGBrgb(36, 55, 158)
HSLhsl(231, 63%, 38%)
HSVhsv(231, 77%, 62%)
CMYKcmyk(77.2%, 65.2%, 0%, 38%)
CIE-LABlab(28.31, 30.49, -57.91)
CIE-LCHlch(28.31, 65.45, 297.77°)
OKLaboklab(39.4% -0.0032 -0.1675)
OKLCHoklch(39.4% 0.168 268.9)
XYZxyz(8.2632, 5.5752, 32.9817)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24379E #9E8B24
analogous
#24749E #24379E #4E249E
triadic
#24379E #9E2437 #379E24
tetradic
#24379E #9E2474 #9E8B24 #249E4E
square
#24379E #9E2474 #9E8B24 #249E4E
split-complementary
#24379E #9E4E24 #749E24
monochromatic
#0D143A #19266C #24379E #2F48D0 #6174DB

Accessibility & contrast

On white

9.93
#24379E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#24379E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24379E
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24379E#FFFFFF#000000##FFFFFF
##24379E1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #24379e;
/* rgb */ color: rgb(36, 55, 158);
/* oklch */ color: oklch(39.4% 0.168 268.9);
Tailwind
colors: {
  custom: {
    50: '#736dbc',
    500: '#24379e',
    950: '#000000',
  },
}
SCSS
$custom: #24379e;
$custom-light: #736dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#24379e",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 158
  },
  "hsl": {
    "h": 230.656,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39404,
    "c": 0.16754,
    "h": 268.9
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#24379E
secondary
#C0B15E
accent
#CC42E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #24379E

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

Preview Lab → · Contrast checker → · Palette generator →

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