#24147F#24147F

#24147F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.165 H 277.3°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#24147F
RGBrgb(36, 20, 127)
HSLhsl(249, 73%, 29%)
HSVhsv(249, 84%, 50%)
CMYKcmyk(71.7%, 84.3%, 0%, 50.2%)
CIE-LABlab(17.49, 40.54, -56.48)
CIE-LCHlch(17.49, 69.52, 305.67°)
OKLaboklab(30.69% 0.0209 -0.1632)
OKLCHoklch(30.69% 0.165 277.3)
XYZxyz(4.8072, 2.4073, 20.2859)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24147F #6F7F14
analogous
#143A7F #24147F #5A147F
triadic
#24147F #7F2414 #147F24
tetradic
#24147F #7F143A #6F7F14 #147F5A
square
#24147F #7F143A #6F7F14 #147F5A
split-complementary
#24147F #7F5A14 #3A7F14
monochromatic
#07041A #150C4A #24147F #331CB4 #492FDE

Accessibility & contrast

On white

14.17
#24147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#24147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24147F
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24147F#FFFFFF#000000##FFFFFF
##24147F1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #24147f;
/* rgb */ color: rgb(36, 20, 127);
/* oklch */ color: oklch(30.7% 0.165 277.3);
Tailwind
colors: {
  custom: {
    50: '#6e56a5',
    500: '#24147f',
    950: '#000000',
  },
}
SCSS
$custom: #24147f;
$custom-light: #6e56a5;
$custom-dark: #000000;
JSON
{
  "hex": "#24147f",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 248.972,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30691,
    "c": 0.16452,
    "h": 277.3
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

primary
#24147F
secondary
#A2B43B
accent
#EF38D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #24147F

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

Preview Lab → · Contrast checker → · Palette generator →

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