#24138E#24138E

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

Color values

HEX#24138E
RGBrgb(36, 19, 142)
HSLhsl(248, 76%, 32%)
HSVhsv(248, 87%, 56%)
CMYKcmyk(74.6%, 86.6%, 0%, 44.3%)
CIE-LABlab(19.20, 45.61, -63.11)
CIE-LCHlch(19.20, 77.86, 305.86°)
OKLaboklab(32.4% 0.0165 -0.1824)
OKLCHoklch(32.4% 0.183 275.2)
XYZxyz(5.8413, 2.7932, 25.8172)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24138E #7D8E13
analogous
#133F8E #24138E #62138E
triadic
#24138E #8E2413 #138E24
tetradic
#24138E #8E133F #7D8E13 #138E62
square
#24138E #8E133F #7D8E13 #138E62
split-complementary
#24138E #8E6213 #3F8E13
monochromatic
#090522 #160C58 #24138E #321AC4 #4F37E4

Accessibility & contrast

On white

13.47
#24138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#24138E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24138E
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24138E#FFFFFF#000000##FFFFFF
##24138E1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.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: #24138e;
/* rgb */ color: rgb(36, 19, 142);
/* oklch */ color: oklch(32.4% 0.183 275.2);
Tailwind
colors: {
  custom: {
    50: '#7256b0',
    500: '#24138e',
    950: '#000000',
  },
}
SCSS
$custom: #24138e;
$custom-light: #7256b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24138e",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 248.293,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32398,
    "c": 0.18313,
    "h": 275.2
  },
  "luminance": 0.02794
}

Semantic roles & 50–950 ramp

primary
#24138E
secondary
#AFC23B
accent
#F335D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #24138E

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

Preview Lab → · Contrast checker → · Palette generator →

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