#24187A#24187A

#24187A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.155 H 277.6°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#24187A
RGBrgb(36, 24, 122)
HSLhsl(247, 67%, 29%)
HSVhsv(247, 80%, 48%)
CMYKcmyk(70.5%, 80.3%, 0%, 52.2%)
CIE-LABlab(17.61, 36.88, -53.09)
CIE-LCHlch(17.61, 64.64, 304.78°)
OKLaboklab(30.6% 0.0204 -0.1534)
OKLCHoklch(30.6% 0.155 277.6)
XYZxyz(4.5659, 2.4331, 18.6376)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24187A #6E7A18
analogous
#183D7A #24187A #55187A
triadic
#24187A #7A2418 #187A24
tetradic
#24187A #7A183D #6E7A18 #187A55
square
#24187A #7A183D #6E7A18 #187A55
split-complementary
#24187A #7A5518 #3D7A18
monochromatic
#08051A #150E47 #24187A #3322AD #4935D7

Accessibility & contrast

On white

14.13
#24187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#24187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24187A
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24187A#FFFFFF#000000##FFFFFF
##24187A1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002778
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #24187a;
/* rgb */ color: rgb(36, 24, 122);
/* oklch */ color: oklch(30.6% 0.155 277.6);
Tailwind
colors: {
  custom: {
    50: '#6d57a2',
    500: '#24187a',
    950: '#000000',
  },
}
SCSS
$custom: #24187a;
$custom-light: #6d57a2;
$custom-dark: #000000;
JSON
{
  "hex": "#24187a",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 247.347,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30601,
    "c": 0.15475,
    "h": 277.6
  },
  "luminance": 0.02433
}

Semantic roles & 50–950 ramp

primary
#24187A
secondary
#A1AF3F
accent
#EA3ED5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #24187A

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

Preview Lab → · Contrast checker → · Palette generator →

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