#24137D#24137D

#24137D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.163 H 277.7°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#24137D
RGBrgb(36, 19, 125)
HSLhsl(250, 74%, 28%)
HSVhsv(250, 85%, 49%)
CMYKcmyk(71.2%, 84.8%, 0%, 51%)
CIE-LABlab(17.09, 40.39, -55.88)
CIE-LCHlch(17.09, 68.94, 305.86°)
OKLaboklab(30.34% 0.0219 -0.1614)
OKLCHoklch(30.34% 0.163 277.7)
XYZxyz(4.6609, 2.3211, 19.6004)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24137D #6C7D13
analogous
#13377D #24137D #59137D
triadic
#24137D #7D2413 #137D24
tetradic
#24137D #7D1337 #6C7D13 #137D59
square
#24137D #7D1337 #6C7D13 #137D59
split-complementary
#24137D #7D5913 #377D13
monochromatic
#08041B #150B48 #24137D #331BB2 #482CDF

Accessibility & contrast

On white

14.34
#24137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24137D
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24137D#FFFFFF#000000##FFFFFF
##24137D1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00267B
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #24137d;
/* rgb */ color: rgb(36, 19, 125);
/* oklch */ color: oklch(30.3% 0.163 277.7);
Tailwind
colors: {
  custom: {
    50: '#6e55a4',
    500: '#24137d',
    950: '#000000',
  },
}
SCSS
$custom: #24137d;
$custom-light: #6e55a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24137d",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 249.623,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30341,
    "c": 0.1629,
    "h": 277.7
  },
  "luminance": 0.02321
}

Semantic roles & 50–950 ramp

primary
#24137D
secondary
#9FB339
accent
#F038D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #24137D

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

Preview Lab → · Contrast checker → · Palette generator →

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