#24388B#24388B

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

Color values

HEX#24388B
RGBrgb(36, 56, 139)
HSLhsl(228, 59%, 34%)
HSVhsv(228, 74%, 55%)
CMYKcmyk(74.1%, 59.7%, 0%, 45.5%)
CIE-LABlab(26.92, 22.55, -48.53)
CIE-LCHlch(26.92, 53.51, 294.93°)
OKLaboklab(37.86% -0.0037 -0.14)
OKLCHoklch(37.86% 0.14 268.5)
XYZxyz(6.8003, 5.0668, 25.0407)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24388B #8B7724
analogous
#246B8B #24388B #44248B
triadic
#24388B #8B2438 #388B24
tetradic
#24388B #8B246B #8B7724 #248B44
square
#24388B #8B246B #8B7724 #248B44
split-complementary
#24388B #8B4424 #6B8B24
monochromatic
#0B112A #17245A #24388B #314CBC #566ED3

Accessibility & contrast

On white

10.43
#24388B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#24388B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24388B
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24388B#FFFFFF#000000##FFFFFF
##24388B1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #24388b;
/* rgb */ color: rgb(36, 56, 139);
/* oklch */ color: oklch(37.9% 0.140 268.5);
Tailwind
colors: {
  custom: {
    50: '#6e6eae',
    500: '#24388b',
    950: '#000000',
  },
}
SCSS
$custom: #24388b;
$custom-light: #6e6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#24388b",
  "rgb": {
    "r": 36,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 228.35,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37862,
    "c": 0.14002,
    "h": 268.5
  },
  "luminance": 0.05067
}

Semantic roles & 50–950 ramp

primary
#24388B
secondary
#B7A453
accent
#C446E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #24388B

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

Preview Lab → · Contrast checker → · Palette generator →

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