#24317E#24317E

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

Color values

HEX#24317E
RGBrgb(36, 49, 126)
HSLhsl(231, 56%, 32%)
HSVhsv(231, 71%, 49%)
CMYKcmyk(71.4%, 61.1%, 0%, 50.6%)
CIE-LABlab(23.93, 22.35, -45.28)
CIE-LCHlch(23.93, 50.50, 296.28°)
OKLaboklab(35.29% 0.0019 -0.1305)
OKLCHoklch(35.29% 0.131 270.8)
XYZxyz(5.5905, 4.0775, 20.2270)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24317E #7E7124
analogous
#245E7E #24317E #44247E
triadic
#24317E #7E2431 #317E24
tetradic
#24317E #7E245E #7E7124 #247E44
square
#24317E #7E245E #7E7124 #247E44
split-complementary
#24317E #7E4424 #5E7E24
monochromatic
#090C1F #161E4E #24317E #3244AE #5062CD

Accessibility & contrast

On white

11.57
#24317E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#24317E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24317E
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24317E#FFFFFF#000000##FFFFFF
##24317E1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24317e;
/* rgb */ color: rgb(36, 49, 126);
/* oklch */ color: oklch(35.3% 0.131 270.8);
Tailwind
colors: {
  custom: {
    50: '#6b68a4',
    500: '#24317e',
    950: '#000000',
  },
}
SCSS
$custom: #24317e;
$custom-light: #6b68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24317e",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 231.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35288,
    "c": 0.13053,
    "h": 270.8
  },
  "luminance": 0.04078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24317E

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

Preview Lab → · Contrast checker → · Palette generator →

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