#24367D#24367D

#24367D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.122 H 268.8°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#24367D
RGBrgb(36, 54, 125)
HSLhsl(228, 55%, 32%)
HSVhsv(228, 71%, 49%)
CMYKcmyk(71.2%, 56.8%, 0%, 51%)
CIE-LABlab(25.24, 18.49, -42.51)
CIE-LCHlch(25.24, 46.36, 293.50°)
OKLaboklab(36.24% -0.0026 -0.1223)
OKLCHoklch(36.24% 0.122 268.8)
XYZxyz(5.7471, 4.4935, 19.9625)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24367D #7D6B24
analogous
#24637D #24367D #3F247D
triadic
#24367D #7D2436 #367D24
tetradic
#24367D #7D2463 #7D6B24 #247D3F
square
#24367D #7D2463 #7D6B24 #247D3F
split-complementary
#24367D #7D3F24 #637D24
monochromatic
#090D1E #16214D #24367D #324BAD #4F68CC

Accessibility & contrast

On white

11.06
#24367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#24367D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24367D
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24367D#FFFFFF#000000##FFFFFF
##24367D1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #24367d;
/* rgb */ color: rgb(36, 54, 125);
/* oklch */ color: oklch(36.2% 0.122 268.8);
Tailwind
colors: {
  custom: {
    50: '#6b6ca3',
    500: '#24367d',
    950: '#000000',
  },
}
SCSS
$custom: #24367d;
$custom-light: #6b6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#24367d",
  "rgb": {
    "r": 36,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 227.865,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36245,
    "c": 0.12235,
    "h": 268.8
  },
  "luminance": 0.04494
}

Semantic roles & 50–950 ramp

primary
#24367D
secondary
#AF9C4D
accent
#C049DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #24367D

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

Preview Lab → · Contrast checker → · Palette generator →

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