#24289E#24289E

#24289E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.184 H 271.5°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#24289E
RGBrgb(36, 40, 158)
HSLhsl(238, 63%, 38%)
HSVhsv(238, 77%, 62%)
CMYKcmyk(77.2%, 74.7%, 0%, 38%)
CIE-LABlab(24.83, 39.95, -63.65)
CIE-LCHlch(24.83, 75.15, 302.11°)
OKLaboklab(36.88% 0.0048 -0.1843)
OKLCHoklch(36.88% 0.184 271.5)
XYZxyz(7.6558, 4.3604, 32.7793)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24289E #9E9A24
analogous
#24659E #24289E #5D249E
triadic
#24289E #9E2428 #289E24
tetradic
#24289E #9E2465 #9E9A24 #249E5D
square
#24289E #9E2465 #9E9A24 #249E5D
split-complementary
#24289E #9E5D24 #659E24
monochromatic
#0D0F3A #191B6C #24289E #2F35D0 #6165DB

Accessibility & contrast

On white

11.22
#24289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#24289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24289E
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24289E#FFFFFF#000000##FFFFFF
##24289E1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #24289e;
/* rgb */ color: rgb(36, 40, 158);
/* oklch */ color: oklch(36.9% 0.184 271.5);
Tailwind
colors: {
  custom: {
    50: '#7463bc',
    500: '#24289e',
    950: '#000000',
  },
}
SCSS
$custom: #24289e;
$custom-light: #7463bc;
$custom-dark: #000000;
JSON
{
  "hex": "#24289e",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 238.033,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36881,
    "c": 0.18432,
    "h": 271.5
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#24289E
secondary
#C0BD5E
accent
#E142E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #24289E

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

Preview Lab → · Contrast checker → · Palette generator →

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