#24389B#24389B

#24389B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.162 H 268.7°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#24389B
RGBrgb(36, 56, 155)
HSLhsl(230, 62%, 37%)
HSVhsv(230, 77%, 61%)
CMYKcmyk(76.8%, 63.9%, 0%, 39.2%)
CIE-LABlab(28.30, 28.69, -56.12)
CIE-LCHlch(28.30, 63.03, 297.08°)
OKLaboklab(39.31% -0.0037 -0.1622)
OKLCHoklch(39.31% 0.162 268.7)
XYZxyz(8.0561, 5.5691, 31.6544)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24389B #9B8724
analogous
#24749B #24389B #4B249B
triadic
#24389B #9B2438 #389B24
tetradic
#24389B #9B2474 #9B8724 #249B4B
square
#24389B #9B2474 #9B8724 #249B4B
split-complementary
#24389B #9B4B24 #749B24
monochromatic
#0D1438 #182669 #24389B #304ACD #5F74DA

Accessibility & contrast

On white

9.93
#24389B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#24389B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24389B
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24389B#FFFFFF#000000##FFFFFF
##24389B1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #24389b;
/* rgb */ color: rgb(36, 56, 155);
/* oklch */ color: oklch(39.3% 0.162 268.7);
Tailwind
colors: {
  custom: {
    50: '#726eb9',
    500: '#24389b',
    950: '#000000',
  },
}
SCSS
$custom: #24389b;
$custom-light: #726eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#24389b",
  "rgb": {
    "r": 36,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 229.916,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39308,
    "c": 0.16227,
    "h": 268.7
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#24389B
secondary
#BFAE5C
accent
#CA42E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #24389B

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

Preview Lab → · Contrast checker → · Palette generator →

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