#24317D#24317D

#24317D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.129 H 270.8°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#24317D
RGBrgb(36, 49, 125)
HSLhsl(231, 55%, 32%)
HSVhsv(231, 71%, 49%)
CMYKcmyk(71.2%, 60.8%, 0%, 51%)
CIE-LABlab(23.84, 21.97, -44.79)
CIE-LCHlch(23.84, 49.88, 296.13°)
OKLaboklab(35.2% 0.0019 -0.1291)
OKLCHoklch(35.2% 0.129 270.8)
XYZxyz(5.5263, 4.0518, 19.8889)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24317D #7D7024
analogous
#245E7D #24317D #44247D
triadic
#24317D #7D2431 #317D24
tetradic
#24317D #7D245E #7D7024 #247D44
square
#24317D #7D245E #7D7024 #247D44
split-complementary
#24317D #7D4424 #5E7D24
monochromatic
#090C1E #161E4D #24317D #3244AD #4F61CC

Accessibility & contrast

On white

11.60
#24317D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#24317D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24317D
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24317D#FFFFFF#000000##FFFFFF
##24317D1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #24317d;
/* rgb */ color: rgb(36, 49, 125);
/* oklch */ color: oklch(35.2% 0.129 270.8);
Tailwind
colors: {
  custom: {
    50: '#6b68a3',
    500: '#24317d',
    950: '#000000',
  },
}
SCSS
$custom: #24317d;
$custom-light: #6b68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#24317d",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 231.236,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.352,
    "c": 0.12908,
    "h": 270.8
  },
  "luminance": 0.04052
}

Semantic roles & 50–950 ramp

primary
#24317D
secondary
#AFA14D
accent
#C949DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24317D

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

Preview Lab → · Contrast checker → · Palette generator →

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