#24388D#24388D

#24388D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.143 H 268.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#24388D
RGBrgb(36, 56, 141)
HSLhsl(229, 59%, 35%)
HSVhsv(229, 74%, 55%)
CMYKcmyk(74.5%, 60.3%, 0%, 44.7%)
CIE-LABlab(27.09, 23.33, -49.50)
CIE-LCHlch(27.09, 54.72, 295.23°)
OKLaboklab(38.04% -0.0036 -0.1428)
OKLCHoklch(38.04% 0.143 268.5)
XYZxyz(6.9478, 5.1258, 25.8174)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24388D #8D7924
analogous
#246D8D #24388D #44248D
triadic
#24388D #8D2438 #388D24
tetradic
#24388D #8D246D #8D7924 #248D44
square
#24388D #8D246D #8D7924 #248D44
split-complementary
#24388D #8D4424 #6D8D24
monochromatic
#0B112B #18255C #24388D #304BBE #576FD4

Accessibility & contrast

On white

10.37
#24388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#24388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24388D
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24388D#FFFFFF#000000##FFFFFF
##24388D1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #24388d;
/* rgb */ color: rgb(36, 56, 141);
/* oklch */ color: oklch(38.0% 0.143 268.5);
Tailwind
colors: {
  custom: {
    50: '#6e6eaf',
    500: '#24388d',
    950: '#000000',
  },
}
SCSS
$custom: #24388d;
$custom-light: #6e6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#24388d",
  "rgb": {
    "r": 36,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 228.571,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38037,
    "c": 0.14286,
    "h": 268.5
  },
  "luminance": 0.05127
}

Semantic roles & 50–950 ramp

primary
#24388D
secondary
#B8A554
accent
#C545E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #24388D

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

Preview Lab → · Contrast checker → · Palette generator →

#24388D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva