#24319E#24319E

#24319E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.175 H 270.1°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#24319E
RGBrgb(36, 49, 158)
HSLhsl(234, 63%, 38%)
HSVhsv(234, 77%, 62%)
CMYKcmyk(77.2%, 69%, 0%, 38%)
CIE-LABlab(26.85, 34.40, -60.32)
CIE-LCHlch(26.85, 69.44, 299.69°)
OKLaboklab(38.33% 0.0003 -0.1746)
OKLCHoklch(38.33% 0.175 270.1)
XYZxyz(7.9953, 5.0394, 32.8925)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24319E #9E9124
analogous
#246E9E #24319E #54249E
triadic
#24319E #9E2431 #319E24
tetradic
#24319E #9E246E #9E9124 #249E54
square
#24319E #9E246E #9E9124 #249E54
split-complementary
#24319E #9E5424 #6E9E24
monochromatic
#0D123A #19226C #24319E #2F41D0 #616EDB

Accessibility & contrast

On white

10.46
#24319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#24319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24319E
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24319E#FFFFFF#000000##FFFFFF
##24319E1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #24319e;
/* rgb */ color: rgb(36, 49, 158);
/* oklch */ color: oklch(38.3% 0.175 270.1);
Tailwind
colors: {
  custom: {
    50: '#7369bc',
    500: '#24319e',
    950: '#000000',
  },
}
SCSS
$custom: #24319e;
$custom-light: #7369bc;
$custom-dark: #000000;
JSON
{
  "hex": "#24319e",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 233.607,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38332,
    "c": 0.17459,
    "h": 270.1
  },
  "luminance": 0.0504
}

Semantic roles & 50–950 ramp

primary
#24319E
secondary
#C0B65E
accent
#D442E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #24319E

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

Preview Lab → · Contrast checker → · Palette generator →

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