#24289A#24289A

#24289A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.179 H 271.7°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#24289A
RGBrgb(36, 40, 154)
HSLhsl(238, 62%, 37%)
HSVhsv(238, 77%, 60%)
CMYKcmyk(76.6%, 74%, 0%, 39.6%)
CIE-LABlab(24.40, 38.56, -61.91)
CIE-LCHlch(24.40, 72.93, 301.91°)
OKLaboklab(36.45% 0.0054 -0.1792)
OKLCHoklch(36.45% 0.179 271.7)
XYZxyz(7.3171, 4.2250, 30.9955)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24289A #9A9624
analogous
#24639A #24289A #5B249A
triadic
#24289A #9A2428 #289A24
tetradic
#24289A #9A2463 #9A9624 #249A5B
square
#24289A #9A2463 #9A9624 #249A5B
split-complementary
#24289A #9A5B24 #639A24
monochromatic
#0D0E37 #181B68 #24289A #3035CC #5F63DA

Accessibility & contrast

On white

11.38
#24289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#24289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24289A
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24289A#FFFFFF#000000##FFFFFF
##24289A1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #24289a;
/* rgb */ color: rgb(36, 40, 154);
/* oklch */ color: oklch(36.4% 0.179 271.7);
Tailwind
colors: {
  custom: {
    50: '#7363b9',
    500: '#24289a',
    950: '#000000',
  },
}
SCSS
$custom: #24289a;
$custom-light: #7363b9;
$custom-dark: #000000;
JSON
{
  "hex": "#24289a",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 237.966,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36449,
    "c": 0.17928,
    "h": 271.7
  },
  "luminance": 0.04226
}

Semantic roles & 50–950 ramp

primary
#24289A
secondary
#BFBB5B
accent
#E043E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #24289A

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

Preview Lab → · Contrast checker → · Palette generator →

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