#24289B#24289B

#24289B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.181 H 271.7°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#24289B
RGBrgb(36, 40, 155)
HSLhsl(238, 62%, 37%)
HSVhsv(238, 77%, 61%)
CMYKcmyk(76.8%, 74.2%, 0%, 39.2%)
CIE-LABlab(24.51, 38.91, -62.34)
CIE-LCHlch(24.51, 73.49, 301.97°)
OKLaboklab(36.56% 0.0053 -0.1805)
OKLCHoklch(36.56% 0.181 271.7)
XYZxyz(7.4007, 4.2584, 31.4359)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24289B #9B9724
analogous
#24649B #24289B #5B249B
triadic
#24289B #9B2428 #289B24
tetradic
#24289B #9B2464 #9B9724 #249B5B
square
#24289B #9B2464 #9B9724 #249B5B
split-complementary
#24289B #9B5B24 #649B24
monochromatic
#0D0E38 #181B69 #24289B #3035CD #5F64DA

Accessibility & contrast

On white

11.34
#24289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24289B
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24289B#FFFFFF#000000##FFFFFF
##24289B1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24289b;
/* rgb */ color: rgb(36, 40, 155);
/* oklch */ color: oklch(36.6% 0.181 271.7);
Tailwind
colors: {
  custom: {
    50: '#7363ba',
    500: '#24289b',
    950: '#000000',
  },
}
SCSS
$custom: #24289b;
$custom-light: #7363ba;
$custom-dark: #000000;
JSON
{
  "hex": "#24289b",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 237.983,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36557,
    "c": 0.18055,
    "h": 271.7
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24289B

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

Preview Lab → · Contrast checker → · Palette generator →

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