#24388E#24388E

#24388E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.144 H 268.6°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#24388E
RGBrgb(36, 56, 142)
HSLhsl(229, 60%, 35%)
HSVhsv(229, 75%, 56%)
CMYKcmyk(74.6%, 60.6%, 0%, 44.3%)
CIE-LABlab(27.17, 23.71, -49.98)
CIE-LCHlch(27.17, 55.32, 295.38°)
OKLaboklab(38.13% -0.0036 -0.1442)
OKLCHoklch(38.13% 0.144 268.6)
XYZxyz(7.0225, 5.1557, 26.2110)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24388E #8E7A24
analogous
#246D8E #24388E #45248E
triadic
#24388E #8E2438 #388E24
tetradic
#24388E #8E246D #8E7A24 #248E45
square
#24388E #8E246D #8E7A24 #248E45
split-complementary
#24388E #8E4524 #6D8E24
monochromatic
#0B112C #18255D #24388E #304BBF #586FD5

Accessibility & contrast

On white

10.34
#24388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24388E
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24388E#FFFFFF#000000##FFFFFF
##24388E1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #24388e;
/* rgb */ color: rgb(36, 56, 142);
/* oklch */ color: oklch(38.1% 0.144 268.6);
Tailwind
colors: {
  custom: {
    50: '#6f6eb0',
    500: '#24388e',
    950: '#000000',
  },
}
SCSS
$custom: #24388e;
$custom-light: #6f6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#24388e",
  "rgb": {
    "r": 36,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 228.679,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38126,
    "c": 0.14428,
    "h": 268.6
  },
  "luminance": 0.05156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24388E

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

Preview Lab → · Contrast checker → · Palette generator →

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