#24137F#24137F

#24137F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.165 H 277.4°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#24137F
RGBrgb(36, 19, 127)
HSLhsl(249, 74%, 29%)
HSVhsv(249, 85%, 50%)
CMYKcmyk(71.7%, 85%, 0%, 50.2%)
CIE-LABlab(17.33, 41.01, -56.75)
CIE-LCHlch(17.33, 70.01, 305.85°)
OKLaboklab(30.58% 0.0213 -0.164)
OKLCHoklch(30.58% 0.165 277.4)
XYZxyz(4.7899, 2.3727, 20.2801)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24137F #6E7F13
analogous
#13387F #24137F #5A137F
triadic
#24137F #7F2413 #137F24
tetradic
#24137F #7F1338 #6E7F13 #137F5A
square
#24137F #7F1338 #6E7F13 #137F5A
split-complementary
#24137F #7F5A13 #387F13
monochromatic
#08041B #150B4A #24137F #331BB4 #492DE0

Accessibility & contrast

On white

14.24
#24137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24137F
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24137F#FFFFFF#000000##FFFFFF
##24137F1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #24137f;
/* rgb */ color: rgb(36, 19, 127);
/* oklch */ color: oklch(30.6% 0.165 277.4);
Tailwind
colors: {
  custom: {
    50: '#6e55a5',
    500: '#24137f',
    950: '#000000',
  },
}
SCSS
$custom: #24137f;
$custom-light: #6e55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#24137f",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 249.444,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3058,
    "c": 0.16533,
    "h": 277.4
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#24137F
secondary
#A1B439
accent
#F137D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #24137F

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

Preview Lab → · Contrast checker → · Palette generator →

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