#24147C#24147C

#24147C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.161 H 277.8°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#24147C
RGBrgb(36, 20, 124)
HSLhsl(249, 72%, 28%)
HSVhsv(249, 84%, 49%)
CMYKcmyk(71%, 83.9%, 0%, 51.4%)
CIE-LABlab(17.13, 39.59, -55.17)
CIE-LCHlch(17.13, 67.90, 305.67°)
OKLaboklab(30.34% 0.0218 -0.1594)
OKLCHoklch(30.34% 0.161 277.8)
XYZxyz(4.6146, 2.3302, 19.2715)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24147C #6C7C14
analogous
#14387C #24147C #58147C
triadic
#24147C #7C2414 #147C24
tetradic
#24147C #7C1438 #6C7C14 #147C58
square
#24147C #7C1438 #6C7C14 #147C58
split-complementary
#24147C #7C5814 #387C14
monochromatic
#08041A #150B47 #24147C #331DB1 #482DDD

Accessibility & contrast

On white

14.32
#24147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#24147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24147C
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24147C#FFFFFF#000000##FFFFFF
##24147C1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00267A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #24147c;
/* rgb */ color: rgb(36, 20, 124);
/* oklch */ color: oklch(30.3% 0.161 277.8);
Tailwind
colors: {
  custom: {
    50: '#6e55a3',
    500: '#24147c',
    950: '#000000',
  },
}
SCSS
$custom: #24147c;
$custom-light: #6e55a3;
$custom-dark: #000000;
JSON
{
  "hex": "#24147c",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 249.231,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30335,
    "c": 0.16087,
    "h": 277.8
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#24147C
secondary
#9FB23A
accent
#EF39D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #24147C

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

Preview Lab → · Contrast checker → · Palette generator →

#24147C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva