#24137C#24137C

#24137C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.162 H 277.9°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#24137C
RGBrgb(36, 19, 124)
HSLhsl(250, 73%, 28%)
HSVhsv(250, 85%, 49%)
CMYKcmyk(71%, 84.7%, 0%, 51.4%)
CIE-LABlab(16.97, 40.07, -55.44)
CIE-LCHlch(16.97, 68.41, 305.86°)
OKLaboklab(30.22% 0.0223 -0.1601)
OKLCHoklch(30.22% 0.162 277.9)
XYZxyz(4.5973, 2.2956, 19.2657)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24137C #6B7C13
analogous
#13367C #24137C #58137C
triadic
#24137C #7C2413 #137C24
tetradic
#24137C #7C1336 #6B7C13 #137C58
square
#24137C #7C1336 #6B7C13 #137C58
split-complementary
#24137C #7C5813 #367C13
monochromatic
#08041B #150B47 #24137C #331BB1 #482BDF

Accessibility & contrast

On white

14.39
#24137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#24137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24137C
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24137C#FFFFFF#000000##FFFFFF
##24137C1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00257A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #24137c;
/* rgb */ color: rgb(36, 19, 124);
/* oklch */ color: oklch(30.2% 0.162 277.9);
Tailwind
colors: {
  custom: {
    50: '#6e55a3',
    500: '#24137c',
    950: '#000000',
  },
}
SCSS
$custom: #24137c;
$custom-light: #6e55a3;
$custom-dark: #000000;
JSON
{
  "hex": "#24137c",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 249.714,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30222,
    "c": 0.16169,
    "h": 277.9
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#24137C
secondary
#9EB239
accent
#F038D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #24137C

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

Preview Lab → · Contrast checker → · Palette generator →

#24137C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva