#24186A#24186A

#24186A is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.134 H 280.5°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#24186A
RGBrgb(36, 24, 106)
HSLhsl(249, 63%, 25%)
HSVhsv(249, 77%, 42%)
CMYKcmyk(66%, 77.4%, 0%, 58.4%)
CIE-LABlab(15.84, 31.51, -45.66)
CIE-LCHlch(15.84, 55.47, 304.61°)
OKLaboklab(28.83% 0.0245 -0.1317)
OKLCHoklch(28.83% 0.134 280.5)
XYZxyz(3.6549, 2.0687, 13.8396)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24186A #5E6A18
analogous
#18356A #24186A #4D186A
triadic
#24186A #6A2418 #186A24
tetradic
#24186A #6A1835 #5E6A18 #186A4D
square
#24186A #6A1835 #5E6A18 #186A4D
split-complementary
#24186A #6A4D18 #356A18
monochromatic
#080619 #130D38 #24186A #35239C #462FCE

Accessibility & contrast

On white

14.85
#24186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#24186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24186A
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24186A#FFFFFF#000000##FFFFFF
##24186A1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002468
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #24186a;
/* rgb */ color: rgb(36, 24, 106);
/* oklch */ color: oklch(28.8% 0.134 280.5);
Tailwind
colors: {
  custom: {
    50: '#695696',
    500: '#24186a',
    950: '#000000',
  },
}
SCSS
$custom: #24186a;
$custom-light: #695696;
$custom-dark: #000000;
JSON
{
  "hex": "#24186a",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 248.78,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28826,
    "c": 0.13397,
    "h": 280.5
  },
  "luminance": 0.02069
}

Semantic roles & 50–950 ramp

primary
#24186A
secondary
#92A03E
accent
#E642CE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #24186A

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

Preview Lab → · Contrast checker → · Palette generator →

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