#24288D#24288D

#24288D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.162 H 272.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#24288D
RGBrgb(36, 40, 141)
HSLhsl(238, 59%, 35%)
HSVhsv(238, 74%, 55%)
CMYKcmyk(74.5%, 71.6%, 0%, 44.7%)
CIE-LABlab(23.05, 33.95, -56.11)
CIE-LCHlch(23.05, 65.58, 301.17°)
OKLaboklab(35.08% 0.0074 -0.1623)
OKLCHoklch(35.08% 0.162 272.6)
XYZxyz(6.2924, 3.8151, 25.5989)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24288D #8D8924
analogous
#245D8D #24288D #54248D
triadic
#24288D #8D2428 #288D24
tetradic
#24288D #8D245D #8D8924 #248D54
square
#24288D #8D245D #8D8924 #248D54
split-complementary
#24288D #8D5424 #5D8D24
monochromatic
#0B0C2B #181A5C #24288D #3036BE #575CD4

Accessibility & contrast

On white

11.91
#24288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24288D
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24288D#FFFFFF#000000##FFFFFF
##24288D1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24288d;
/* rgb */ color: rgb(36, 40, 141);
/* oklch */ color: oklch(35.1% 0.162 272.6);
Tailwind
colors: {
  custom: {
    50: '#7062af',
    500: '#24288d',
    950: '#000000',
  },
}
SCSS
$custom: #24288d;
$custom-light: #7062af;
$custom-dark: #000000;
JSON
{
  "hex": "#24288d",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 237.714,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35075,
    "c": 0.16247,
    "h": 272.6
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#24288D
secondary
#B8B554
accent
#DD45E3
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #24288D

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

Preview Lab → · Contrast checker → · Palette generator →

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