#24148B#24148B

#24148B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.179 H 275.5°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#24148B
RGBrgb(36, 20, 139)
HSLhsl(248, 75%, 31%)
HSVhsv(248, 86%, 55%)
CMYKcmyk(74.1%, 85.6%, 0%, 45.5%)
CIE-LABlab(18.97, 44.26, -61.61)
CIE-LCHlch(18.97, 75.86, 305.69°)
OKLaboklab(32.13% 0.0171 -0.1781)
OKLCHoklch(32.13% 0.179 275.5)
XYZxyz(5.6364, 2.7389, 24.6527)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24148B #7B8B14
analogous
#143F8B #24148B #5F148B
triadic
#24148B #8B2414 #148B24
tetradic
#24148B #8B143F #7B8B14 #148B5F
square
#24148B #8B143F #7B8B14 #148B5F
split-complementary
#24148B #8B5F14 #3F8B14
monochromatic
#080520 #160C55 #24148B #321CC1 #4E37E2

Accessibility & contrast

On white

13.57
#24148B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#24148B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24148B
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24148B#FFFFFF#000000##FFFFFF
##24148B1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338E
Deuteranopia (green-blind)
#002989
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #24148b;
/* rgb */ color: rgb(36, 20, 139);
/* oklch */ color: oklch(32.1% 0.179 275.5);
Tailwind
colors: {
  custom: {
    50: '#7157ae',
    500: '#24148b',
    950: '#000000',
  },
}
SCSS
$custom: #24148b;
$custom-light: #7157ae;
$custom-dark: #000000;
JSON
{
  "hex": "#24148b",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 139
  },
  "hsl": {
    "h": 248.067,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32132,
    "c": 0.1789,
    "h": 275.5
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#24148B
secondary
#ADBF3C
accent
#F136D8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #24148B

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

Preview Lab → · Contrast checker → · Palette generator →

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