#24367F#24367F

#24367F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.125 H 268.9°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#24367F
RGBrgb(36, 54, 127)
HSLhsl(228, 56%, 32%)
HSVhsv(228, 72%, 50%)
CMYKcmyk(71.7%, 57.5%, 0%, 50.2%)
CIE-LABlab(25.40, 19.27, -43.52)
CIE-LCHlch(25.40, 47.59, 293.88°)
OKLaboklab(36.41% -0.0025 -0.1253)
OKLCHoklch(36.41% 0.125 268.9)
XYZxyz(5.8762, 4.5451, 20.6422)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24367F #7F6D24
analogous
#24647F #24367F #40247F
triadic
#24367F #7F2436 #367F24
tetradic
#24367F #7F2464 #7F6D24 #247F40
square
#24367F #7F2464 #7F6D24 #247F40
split-complementary
#24367F #7F4024 #647F24
monochromatic
#090D20 #16224F #24367F #324AAF #5069CD

Accessibility & contrast

On white

11.00
#24367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#24367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24367F
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24367F#FFFFFF#000000##FFFFFF
##24367F1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #24367f;
/* rgb */ color: rgb(36, 54, 127);
/* oklch */ color: oklch(36.4% 0.125 268.9);
Tailwind
colors: {
  custom: {
    50: '#6b6ca5',
    500: '#24367f',
    950: '#000000',
  },
}
SCSS
$custom: #24367f;
$custom-light: #6b6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#24367f",
  "rgb": {
    "r": 36,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 228.132,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36413,
    "c": 0.12529,
    "h": 268.9
  },
  "luminance": 0.04546
}

Semantic roles & 50–950 ramp

primary
#24367F
secondary
#B19D4E
accent
#C149DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #24367F

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

Preview Lab → · Contrast checker → · Palette generator →

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