#24289C#24289C

#24289C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.182 H 271.6°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#24289C
RGBrgb(36, 40, 156)
HSLhsl(238, 63%, 38%)
HSVhsv(238, 77%, 61%)
CMYKcmyk(76.9%, 74.4%, 0%, 38.8%)
CIE-LABlab(24.61, 39.25, -62.78)
CIE-LCHlch(24.61, 74.04, 302.02°)
OKLaboklab(36.66% 0.0051 -0.1817)
OKLCHoklch(36.66% 0.182 271.6)
XYZxyz(7.4851, 4.2921, 31.8800)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24289C #9C9824
analogous
#24649C #24289C #5C249C
triadic
#24289C #9C2428 #289C24
tetradic
#24289C #9C2464 #9C9824 #249C5C
square
#24289C #9C2464 #9C9824 #249C5C
split-complementary
#24289C #9C5C24 #649C24
monochromatic
#0D0E39 #191B6A #24289C #2F35CE #6064DA

Accessibility & contrast

On white

11.30
#24289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#24289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24289C
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24289C#FFFFFF#000000##FFFFFF
##24289C1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #24289c;
/* rgb */ color: rgb(36, 40, 156);
/* oklch */ color: oklch(36.7% 0.182 271.6);
Tailwind
colors: {
  custom: {
    50: '#7463ba',
    500: '#24289c',
    950: '#000000',
  },
}
SCSS
$custom: #24289c;
$custom-light: #7463ba;
$custom-dark: #000000;
JSON
{
  "hex": "#24289c",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 238,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36664,
    "c": 0.18181,
    "h": 271.6
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#24289C
secondary
#BFBC5C
accent
#E042E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #24289C

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

Preview Lab → · Contrast checker → · Palette generator →

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