#24147D#24147D

#24147D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.162 H 277.6°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#24147D
RGBrgb(36, 20, 125)
HSLhsl(249, 72%, 28%)
HSVhsv(249, 84%, 49%)
CMYKcmyk(71.2%, 84%, 0%, 51%)
CIE-LABlab(17.25, 39.91, -55.61)
CIE-LCHlch(17.25, 68.45, 305.67°)
OKLaboklab(30.45% 0.0215 -0.1606)
OKLCHoklch(30.45% 0.162 277.6)
XYZxyz(4.6782, 2.3556, 19.6062)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24147D #6D7D14
analogous
#14387D #24147D #58147D
triadic
#24147D #7D2414 #147D24
tetradic
#24147D #7D1438 #6D7D14 #147D58
square
#24147D #7D1438 #6D7D14 #147D58
split-complementary
#24147D #7D5814 #387D14
monochromatic
#08041A #150C48 #24147D #331CB2 #492EDE

Accessibility & contrast

On white

14.27
#24147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24147D
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24147D#FFFFFF#000000##FFFFFF
##24147D1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00267B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #24147d;
/* rgb */ color: rgb(36, 20, 125);
/* oklch */ color: oklch(30.5% 0.162 277.6);
Tailwind
colors: {
  custom: {
    50: '#6e55a4',
    500: '#24147d',
    950: '#000000',
  },
}
SCSS
$custom: #24147d;
$custom-light: #6e55a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24147d",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 249.143,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30454,
    "c": 0.16208,
    "h": 277.6
  },
  "luminance": 0.02356
}

Semantic roles & 50–950 ramp

primary
#24147D
secondary
#A0B23A
accent
#EF39D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #24147D

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

Preview Lab → · Contrast checker → · Palette generator →

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