#24389A#24389A

#24389A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.161 H 268.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#24389A
RGBrgb(36, 56, 154)
HSLhsl(230, 62%, 37%)
HSVhsv(230, 77%, 60%)
CMYKcmyk(76.6%, 63.6%, 0%, 39.6%)
CIE-LABlab(28.21, 28.31, -55.65)
CIE-LCHlch(28.21, 62.44, 296.97°)
OKLaboklab(39.22% -0.0037 -0.1609)
OKLCHoklch(39.22% 0.161 268.7)
XYZxyz(7.9724, 5.5356, 31.2139)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24389A #9A8624
analogous
#24739A #24389A #4B249A
triadic
#24389A #9A2438 #389A24
tetradic
#24389A #9A2473 #9A8624 #249A4B
square
#24389A #9A2473 #9A8624 #249A4B
split-complementary
#24389A #9A4B24 #739A24
monochromatic
#0D1437 #182668 #24389A #304ACC #5F74DA

Accessibility & contrast

On white

9.96
#24389A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24389A
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24389A#FFFFFF#000000##FFFFFF
##24389A1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #24389a;
/* rgb */ color: rgb(36, 56, 154);
/* oklch */ color: oklch(39.2% 0.161 268.7);
Tailwind
colors: {
  custom: {
    50: '#726eb9',
    500: '#24389a',
    950: '#000000',
  },
}
SCSS
$custom: #24389a;
$custom-light: #726eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#24389a",
  "rgb": {
    "r": 36,
    "g": 56,
    "b": 154
  },
  "hsl": {
    "h": 229.831,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39215,
    "c": 0.16091,
    "h": 268.7
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#24389A
secondary
#BFAE5B
accent
#CA43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #24389A

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

Preview Lab → · Contrast checker → · Palette generator →

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