#24379D#24379D

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

Color values

HEX#24379D
RGBrgb(36, 55, 157)
HSLhsl(231, 63%, 38%)
HSVhsv(231, 77%, 62%)
CMYKcmyk(77.1%, 65%, 0%, 38.4%)
CIE-LABlab(28.22, 30.11, -57.46)
CIE-LCHlch(28.22, 64.87, 297.66°)
OKLaboklab(39.31% -0.0032 -0.1662)
OKLCHoklch(39.31% 0.166 268.9)
XYZxyz(8.1774, 5.5409, 32.5303)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24379D #9D8A24
analogous
#24739D #24379D #4E249D
triadic
#24379D #9D2437 #379D24
tetradic
#24379D #9D2473 #9D8A24 #249D4E
square
#24379D #9D2473 #9D8A24 #249D4E
split-complementary
#24379D #9D4E24 #739D24
monochromatic
#0D1439 #19266B #24379D #2F48CF #6174DB

Accessibility & contrast

On white

9.96
#24379D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#24379D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24379D
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24379D#FFFFFF#000000##FFFFFF
##24379D1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #24379d;
/* rgb */ color: rgb(36, 55, 157);
/* oklch */ color: oklch(39.3% 0.166 268.9);
Tailwind
colors: {
  custom: {
    50: '#736dbb',
    500: '#24379d',
    950: '#000000',
  },
}
SCSS
$custom: #24379d;
$custom-light: #736dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#24379d",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 230.579,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39309,
    "c": 0.1662,
    "h": 268.9
  },
  "luminance": 0.05542
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24379D

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

Preview Lab → · Contrast checker → · Palette generator →

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