#24188D#24188D

#24188D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.178 H 274.9°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#24188D
RGBrgb(36, 24, 141)
HSLhsl(246, 71%, 32%)
HSVhsv(246, 83%, 55%)
CMYKcmyk(74.5%, 83%, 0%, 44.7%)
CIE-LABlab(19.85, 43.02, -61.40)
CIE-LCHlch(19.85, 74.97, 305.02°)
OKLaboklab(32.81% 0.0151 -0.1776)
OKLCHoklch(32.81% 0.178 274.9)
XYZxyz(5.8603, 2.9508, 25.4549)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24188D #818D18
analogous
#18468D #24188D #5F188D
triadic
#24188D #8D2418 #188D24
tetradic
#24188D #8D1846 #818D18 #188D5F
square
#24188D #8D1846 #818D18 #188D5F
split-complementary
#24188D #8D5F18 #468D18
monochromatic
#090624 #170F59 #24188D #3121C1 #5141DF

Accessibility & contrast

On white

13.21
#24188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#24188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24188D
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24188D#FFFFFF#000000##FFFFFF
##24188D1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #24188d;
/* rgb */ color: rgb(36, 24, 141);
/* oklch */ color: oklch(32.8% 0.178 274.9);
Tailwind
colors: {
  custom: {
    50: '#7159b0',
    500: '#24188d',
    950: '#000000',
  },
}
SCSS
$custom: #24188d;
$custom-light: #7159b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24188d",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 246.154,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3281,
    "c": 0.17819,
    "h": 274.9
  },
  "luminance": 0.02951
}

Semantic roles & 50–950 ramp

primary
#24188D
secondary
#B2BF42
accent
#EE3ADB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #24188D

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

Preview Lab → · Contrast checker → · Palette generator →

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