#24148A#24148A

#24148A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.178 H 275.6°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#24148A
RGBrgb(36, 20, 138)
HSLhsl(248, 75%, 31%)
HSVhsv(248, 86%, 54%)
CMYKcmyk(73.9%, 85.5%, 0%, 45.9%)
CIE-LABlab(18.84, 43.96, -61.19)
CIE-LCHlch(18.84, 75.34, 305.69°)
OKLaboklab(32.01% 0.0174 -0.1769)
OKLCHoklch(32.01% 0.178 275.6)
XYZxyz(5.5636, 2.7098, 24.2697)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24148A #7A8A14
analogous
#143F8A #24148A #5F148A
triadic
#24148A #8A2414 #148A24
tetradic
#24148A #8A143F #7A8A14 #148A5F
square
#24148A #8A143F #7A8A14 #148A5F
split-complementary
#24148A #8A5F14 #3F8A14
monochromatic
#08051F #160C55 #24148A #321CBF #4E36E2

Accessibility & contrast

On white

13.62
#24148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#24148A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24148A
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24148A#FFFFFF#000000##FFFFFF
##24148A1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338D
Deuteranopia (green-blind)
#002988
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #24148a;
/* rgb */ color: rgb(36, 20, 138);
/* oklch */ color: oklch(32.0% 0.178 275.6);
Tailwind
colors: {
  custom: {
    50: '#7157ad',
    500: '#24148a',
    950: '#000000',
  },
}
SCSS
$custom: #24148a;
$custom-light: #7157ad;
$custom-dark: #000000;
JSON
{
  "hex": "#24148a",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 248.136,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32011,
    "c": 0.17772,
    "h": 275.6
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

primary
#24148A
secondary
#ACBE3C
accent
#F136D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #24148A

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

Preview Lab → · Contrast checker → · Palette generator →

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