#24288C#24288C

#24288C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.161 H 272.7°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#24288C
RGBrgb(36, 40, 140)
HSLhsl(238, 59%, 35%)
HSVhsv(238, 74%, 55%)
CMYKcmyk(74.3%, 71.4%, 0%, 45.1%)
CIE-LABlab(22.95, 33.59, -55.65)
CIE-LCHlch(22.95, 65.00, 301.11°)
OKLaboklab(34.97% 0.0075 -0.161)
OKLCHoklch(34.97% 0.161 272.7)
XYZxyz(6.2184, 3.7855, 25.2088)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24288C #8C8824
analogous
#245C8C #24288C #54248C
triadic
#24288C #8C2428 #288C24
tetradic
#24288C #8C245C #8C8824 #248C54
square
#24288C #8C245C #8C8824 #248C54
split-complementary
#24288C #8C5424 #5C8C24
monochromatic
#0B0C2B #171A5B #24288C #3136BD #575BD4

Accessibility & contrast

On white

11.95
#24288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#24288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24288C
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24288C#FFFFFF#000000##FFFFFF
##24288C1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00328A
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #24288c;
/* rgb */ color: rgb(36, 40, 140);
/* oklch */ color: oklch(35.0% 0.161 272.7);
Tailwind
colors: {
  custom: {
    50: '#7062af',
    500: '#24288c',
    950: '#000000',
  },
}
SCSS
$custom: #24288c;
$custom-light: #7062af;
$custom-dark: #000000;
JSON
{
  "hex": "#24288c",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 237.692,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34972,
    "c": 0.16115,
    "h": 272.7
  },
  "luminance": 0.03786
}

Semantic roles & 50–950 ramp

primary
#24288C
secondary
#B8B454
accent
#DC46E2
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #24288C

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

Preview Lab → · Contrast checker → · Palette generator →

#24288C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva