#24288E#24288E

#24288E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.164 H 272.5°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#24288E
RGBrgb(36, 40, 142)
HSLhsl(238, 60%, 35%)
HSVhsv(238, 75%, 56%)
CMYKcmyk(74.6%, 71.8%, 0%, 44.3%)
CIE-LABlab(23.15, 34.31, -56.56)
CIE-LCHlch(23.15, 66.16, 301.24°)
OKLaboklab(35.18% 0.0072 -0.1636)
OKLCHoklch(35.18% 0.164 272.5)
XYZxyz(6.3672, 3.8450, 25.9925)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24288E #8E8A24
analogous
#245D8E #24288E #55248E
triadic
#24288E #8E2428 #288E24
tetradic
#24288E #8E245D #8E8A24 #248E55
square
#24288E #8E245D #8E8A24 #248E55
split-complementary
#24288E #8E5524 #5D8E24
monochromatic
#0B0C2C #181A5D #24288E #3036BF #585DD5

Accessibility & contrast

On white

11.87
#24288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#24288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24288E
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24288E#FFFFFF#000000##FFFFFF
##24288E1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #24288e;
/* rgb */ color: rgb(36, 40, 142);
/* oklch */ color: oklch(35.2% 0.164 272.5);
Tailwind
colors: {
  custom: {
    50: '#7063b0',
    500: '#24288e',
    950: '#000000',
  },
}
SCSS
$custom: #24288e;
$custom-light: #7063b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24288e",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 237.736,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35179,
    "c": 0.16378,
    "h": 272.5
  },
  "luminance": 0.03846
}

Semantic roles & 50–950 ramp

primary
#24288E
secondary
#B9B555
accent
#DD45E3
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #24288E

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

Preview Lab → · Contrast checker → · Palette generator →

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