#24388F#24388F

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

Color values

HEX#24388F
RGBrgb(36, 56, 143)
HSLhsl(229, 60%, 35%)
HSVhsv(229, 75%, 56%)
CMYKcmyk(74.8%, 60.8%, 0%, 43.9%)
CIE-LABlab(27.26, 24.10, -50.46)
CIE-LCHlch(27.26, 55.92, 295.53°)
OKLaboklab(38.21% -0.0036 -0.1456)
OKLCHoklch(38.21% 0.146 268.6)
XYZxyz(7.0979, 5.1858, 26.6082)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24388F #8F7B24
analogous
#246E8F #24388F #45248F
triadic
#24388F #8F2438 #388F24
tetradic
#24388F #8F246E #8F7B24 #248F45
square
#24388F #8F246E #8F7B24 #248F45
split-complementary
#24388F #8F4524 #6E8F24
monochromatic
#0B122D #18255E #24388F #304BC0 #5870D5

Accessibility & contrast

On white

10.31
#24388F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#24388F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24388F
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24388F#FFFFFF#000000##FFFFFF
##24388F1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #24388f;
/* rgb */ color: rgb(36, 56, 143);
/* oklch */ color: oklch(38.2% 0.146 268.6);
Tailwind
colors: {
  custom: {
    50: '#6f6eb1',
    500: '#24388f',
    950: '#000000',
  },
}
SCSS
$custom: #24388f;
$custom-light: #6f6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#24388f",
  "rgb": {
    "r": 36,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 228.785,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38215,
    "c": 0.14568,
    "h": 268.6
  },
  "luminance": 0.05187
}

Semantic roles & 50–950 ramp

primary
#24388F
secondary
#B9A755
accent
#C545E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #24388F

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

Preview Lab → · Contrast checker → · Palette generator →

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