#24288B#24288B

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

Color values

HEX#24288B
RGBrgb(36, 40, 139)
HSLhsl(238, 59%, 34%)
HSVhsv(238, 74%, 55%)
CMYKcmyk(74.1%, 71.2%, 0%, 45.5%)
CIE-LABlab(22.85, 33.23, -55.20)
CIE-LCHlch(22.85, 64.43, 301.05°)
OKLaboklab(34.87% 0.0077 -0.1596)
OKLCHoklch(34.87% 0.16 272.7)
XYZxyz(6.1450, 3.7561, 24.8222)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24288B #8B8724
analogous
#245C8B #24288B #54248B
triadic
#24288B #8B2428 #288B24
tetradic
#24288B #8B245C #8B8724 #248B54
square
#24288B #8B245C #8B8724 #248B54
split-complementary
#24288B #8B5424 #5C8B24
monochromatic
#0B0C2A #171A5A #24288B #3136BC #565BD3

Accessibility & contrast

On white

11.99
#24288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#24288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24288B
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24288B#FFFFFF#000000##FFFFFF
##24288B1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #24288b;
/* rgb */ color: rgb(36, 40, 139);
/* oklch */ color: oklch(34.9% 0.160 272.7);
Tailwind
colors: {
  custom: {
    50: '#6f62ae',
    500: '#24288b',
    950: '#000000',
  },
}
SCSS
$custom: #24288b;
$custom-light: #6f62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#24288b",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 237.67,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34869,
    "c": 0.15981,
    "h": 272.7
  },
  "luminance": 0.03757
}

Semantic roles & 50–950 ramp

primary
#24288B
secondary
#B7B453
accent
#DC46E2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #24288B

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

Preview Lab → · Contrast checker → · Palette generator →

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