#24148D#24148D

#24148D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.181 H 275.2°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#24148D
RGBrgb(36, 20, 141)
HSLhsl(248, 75%, 32%)
HSVhsv(248, 86%, 55%)
CMYKcmyk(74.5%, 85.8%, 0%, 44.7%)
CIE-LABlab(19.22, 44.87, -62.45)
CIE-LCHlch(19.22, 76.90, 305.70°)
OKLaboklab(32.38% 0.0165 -0.1805)
OKLCHoklch(32.38% 0.181 275.2)
XYZxyz(5.7838, 2.7979, 25.4294)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24148D #7D8D14
analogous
#14418D #24148D #61148D
triadic
#24148D #8D2414 #148D24
tetradic
#24148D #8D1441 #7D8D14 #148D61
square
#24148D #8D1441 #7D8D14 #148D61
split-complementary
#24148D #8D6114 #418D14
monochromatic
#090522 #160C57 #24148D #321CC3 #4F39E3

Accessibility & contrast

On white

13.46
#24148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#24148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24148D
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24148D#FFFFFF#000000##FFFFFF
##24148D1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003490
Deuteranopia (green-blind)
#00298B
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #24148d;
/* rgb */ color: rgb(36, 20, 141);
/* oklch */ color: oklch(32.4% 0.181 275.2);
Tailwind
colors: {
  custom: {
    50: '#7257b0',
    500: '#24148d',
    950: '#000000',
  },
}
SCSS
$custom: #24148d;
$custom-light: #7257b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24148d",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 247.934,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32375,
    "c": 0.18126,
    "h": 275.2
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#24148D
secondary
#AFC13C
accent
#F236D9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #24148D

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

Preview Lab → · Contrast checker → · Palette generator →

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