#24137E#24137E

#24137E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.5% C 0.164 H 277.6°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#24137E
RGBrgb(36, 19, 126)
HSLhsl(250, 74%, 28%)
HSVhsv(250, 85%, 49%)
CMYKcmyk(71.4%, 84.9%, 0%, 50.6%)
CIE-LABlab(17.21, 40.70, -56.31)
CIE-LCHlch(17.21, 69.48, 305.86°)
OKLaboklab(30.46% 0.0216 -0.1627)
OKLCHoklch(30.46% 0.164 277.6)
XYZxyz(4.7251, 2.3467, 19.9386)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24137E #6D7E13
analogous
#13377E #24137E #59137E
triadic
#24137E #7E2413 #137E24
tetradic
#24137E #7E1337 #6D7E13 #137E59
square
#24137E #7E1337 #6D7E13 #137E59
split-complementary
#24137E #7E5913 #377E13
monochromatic
#08041B #150B49 #24137E #331BB3 #492CDF

Accessibility & contrast

On white

14.29
#24137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#24137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24137E
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24137E#FFFFFF#000000##FFFFFF
##24137E1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #24137e;
/* rgb */ color: rgb(36, 19, 126);
/* oklch */ color: oklch(30.5% 0.164 277.6);
Tailwind
colors: {
  custom: {
    50: '#6e55a5',
    500: '#24137e',
    950: '#000000',
  },
}
SCSS
$custom: #24137e;
$custom-light: #6e55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#24137e",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 249.533,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3046,
    "c": 0.16412,
    "h": 277.6
  },
  "luminance": 0.02347
}

Semantic roles & 50–950 ramp

primary
#24137E
secondary
#A0B439
accent
#F037D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #24137E

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

Preview Lab → · Contrast checker → · Palette generator →

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