#24288A#24288A

#24288A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.158 H 272.8°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#24288A
RGBrgb(36, 40, 138)
HSLhsl(238, 59%, 34%)
HSVhsv(238, 74%, 54%)
CMYKcmyk(73.9%, 71%, 0%, 45.9%)
CIE-LABlab(22.75, 32.87, -54.74)
CIE-LCHlch(22.75, 63.85, 300.98°)
OKLaboklab(34.77% 0.0078 -0.1583)
OKLCHoklch(34.77% 0.158 272.8)
XYZxyz(6.0723, 3.7270, 24.4392)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24288A #8A8624
analogous
#245B8A #24288A #53248A
triadic
#24288A #8A2428 #288A24
tetradic
#24288A #8A245B #8A8624 #248A53
square
#24288A #8A245B #8A8624 #248A53
split-complementary
#24288A #8A5324 #5B8A24
monochromatic
#0B0C29 #171A59 #24288A #3136BB #565BD3

Accessibility & contrast

On white

12.03
#24288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24288A
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24288A#FFFFFF#000000##FFFFFF
##24288A1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003188
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #24288a;
/* rgb */ color: rgb(36, 40, 138);
/* oklch */ color: oklch(34.8% 0.158 272.8);
Tailwind
colors: {
  custom: {
    50: '#6f62ad',
    500: '#24288a',
    950: '#000000',
  },
}
SCSS
$custom: #24288a;
$custom-light: #6f62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#24288a",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 237.647,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34766,
    "c": 0.15849,
    "h": 272.8
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

primary
#24288A
secondary
#B7B353
accent
#DC46E2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #24288A

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

Preview Lab → · Contrast checker → · Palette generator →

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