#24367E#24367E

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

Color values

HEX#24367E
RGBrgb(36, 54, 126)
HSLhsl(228, 56%, 32%)
HSVhsv(228, 71%, 49%)
CMYKcmyk(71.4%, 57.1%, 0%, 50.6%)
CIE-LABlab(25.32, 18.88, -43.02)
CIE-LCHlch(25.32, 46.98, 293.70°)
OKLaboklab(36.33% -0.0025 -0.1238)
OKLCHoklch(36.33% 0.124 268.8)
XYZxyz(5.8113, 4.5192, 20.3006)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24367E #7E6C24
analogous
#24637E #24367E #3F247E
triadic
#24367E #7E2436 #367E24
tetradic
#24367E #7E2463 #7E6C24 #247E3F
square
#24367E #7E2463 #7E6C24 #247E3F
split-complementary
#24367E #7E3F24 #637E24
monochromatic
#090D1F #16224E #24367E #324AAE #5069CD

Accessibility & contrast

On white

11.03
#24367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24367E
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24367E#FFFFFF#000000##FFFFFF
##24367E1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #24367e;
/* rgb */ color: rgb(36, 54, 126);
/* oklch */ color: oklch(36.3% 0.124 268.8);
Tailwind
colors: {
  custom: {
    50: '#6b6ca4',
    500: '#24367e',
    950: '#000000',
  },
}
SCSS
$custom: #24367e;
$custom-light: #6b6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#24367e",
  "rgb": {
    "r": 36,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 228,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36329,
    "c": 0.12383,
    "h": 268.8
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24367E

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

Preview Lab → · Contrast checker → · Palette generator →

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