#24148E#24148E

#24148E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.5% C 0.182 H 275.1°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#24148E
RGBrgb(36, 20, 142)
HSLhsl(248, 75%, 32%)
HSVhsv(248, 86%, 56%)
CMYKcmyk(74.6%, 85.9%, 0%, 44.3%)
CIE-LABlab(19.34, 45.18, -62.87)
CIE-LCHlch(19.34, 77.42, 305.70°)
OKLaboklab(32.5% 0.0162 -0.1817)
OKLCHoklch(32.5% 0.182 275.1)
XYZxyz(5.8586, 2.8278, 25.8230)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24148E #7E8E14
analogous
#14418E #24148E #61148E
triadic
#24148E #8E2414 #148E24
tetradic
#24148E #8E1441 #7E8E14 #148E61
square
#24148E #8E1441 #7E8E14 #148E61
split-complementary
#24148E #8E6114 #418E14
monochromatic
#090523 #160C58 #24148E #321CC4 #5039E3

Accessibility & contrast

On white

13.41
#24148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#24148E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24148E
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24148E#FFFFFF#000000##FFFFFF
##24148E1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00298C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #24148e;
/* rgb */ color: rgb(36, 20, 142);
/* oklch */ color: oklch(32.5% 0.182 275.1);
Tailwind
colors: {
  custom: {
    50: '#7257b0',
    500: '#24148e',
    950: '#000000',
  },
}
SCSS
$custom: #24148e;
$custom-light: #7257b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24148e",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 247.869,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32497,
    "c": 0.18244,
    "h": 275.1
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#24148E
secondary
#B0C23C
accent
#F236D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #24148E

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

Preview Lab → · Contrast checker → · Palette generator →

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