#24186D#24186D

#24186D is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.138 H 279.9°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#24186D
RGBrgb(36, 24, 109)
HSLhsl(248, 64%, 26%)
HSVhsv(248, 78%, 43%)
CMYKcmyk(67%, 78%, 0%, 57.3%)
CIE-LABlab(16.17, 32.53, -47.08)
CIE-LCHlch(16.17, 57.23, 304.64°)
OKLaboklab(29.15% 0.0238 -0.1359)
OKLCHoklch(29.15% 0.138 279.9)
XYZxyz(3.8136, 2.1322, 14.6756)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24186D #616D18
analogous
#18366D #24186D #4E186D
triadic
#24186D #6D2418 #186D24
tetradic
#24186D #6D1836 #616D18 #186D4E
square
#24186D #6D1836 #616D18 #186D4E
split-complementary
#24186D #6D4E18 #366D18
monochromatic
#080619 #130D3B #24186D #35239F #452ED1

Accessibility & contrast

On white

14.72
#24186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#24186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24186D
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24186D#FFFFFF#000000##FFFFFF
##24186D1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6F
Deuteranopia (green-blind)
#00256B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #24186d;
/* rgb */ color: rgb(36, 24, 109);
/* oklch */ color: oklch(29.2% 0.138 279.9);
Tailwind
colors: {
  custom: {
    50: '#6a5798',
    500: '#24186d',
    950: '#000000',
  },
}
SCSS
$custom: #24186d;
$custom-light: #6a5798;
$custom-dark: #000000;
JSON
{
  "hex": "#24186d",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 248.471,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29152,
    "c": 0.13795,
    "h": 279.9
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#24186D
secondary
#94A33E
accent
#E741CF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #24186D

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

Preview Lab → · Contrast checker → · Palette generator →

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