#24319B#24319B

#24319B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.171 H 270.2°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#24319B
RGBrgb(36, 49, 155)
HSLhsl(233, 62%, 37%)
HSVhsv(233, 77%, 61%)
CMYKcmyk(76.8%, 68.4%, 0%, 39.2%)
CIE-LABlab(26.56, 33.29, -58.97)
CIE-LCHlch(26.56, 67.72, 299.45°)
OKLaboklab(38.03% 0.0006 -0.1706)
OKLCHoklch(38.03% 0.171 270.2)
XYZxyz(7.7402, 4.9374, 31.5491)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24319B #9B8E24
analogous
#246D9B #24319B #52249B
triadic
#24319B #9B2431 #319B24
tetradic
#24319B #9B246D #9B8E24 #249B52
square
#24319B #9B246D #9B8E24 #249B52
split-complementary
#24319B #9B5224 #6D9B24
monochromatic
#0D1238 #182169 #24319B #3041CD #5F6DDA

Accessibility & contrast

On white

10.57
#24319B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#24319B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24319B
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24319B#FFFFFF#000000##FFFFFF
##24319B1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #24319b;
/* rgb */ color: rgb(36, 49, 155);
/* oklch */ color: oklch(38.0% 0.171 270.2);
Tailwind
colors: {
  custom: {
    50: '#7369ba',
    500: '#24319b',
    950: '#000000',
  },
}
SCSS
$custom: #24319b;
$custom-light: #7369ba;
$custom-dark: #000000;
JSON
{
  "hex": "#24319b",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 233.445,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38032,
    "c": 0.17064,
    "h": 270.2
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#24319B
secondary
#BFB45C
accent
#D442E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #24319B

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

Preview Lab → · Contrast checker → · Palette generator →

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