#24367C#24367C

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

Color values

HEX#24367C
RGBrgb(36, 54, 124)
HSLhsl(228, 55%, 31%)
HSVhsv(228, 71%, 49%)
CMYKcmyk(71%, 56.5%, 0%, 51.4%)
CIE-LABlab(25.16, 18.10, -42.01)
CIE-LCHlch(25.16, 45.74, 293.31°)
OKLaboklab(36.16% -0.0026 -0.1208)
OKLCHoklch(36.16% 0.121 268.7)
XYZxyz(5.6836, 4.4681, 19.6278)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24367C #7C6A24
analogous
#24627C #24367C #3E247C
triadic
#24367C #7C2436 #367C24
tetradic
#24367C #7C2462 #7C6A24 #247C3E
square
#24367C #7C2462 #7C6A24 #247C3E
split-complementary
#24367C #7C3E24 #627C24
monochromatic
#080D1D #16214D #24367C #324BAB #4F68CC

Accessibility & contrast

On white

11.09
#24367C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#24367C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24367C
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24367C#FFFFFF#000000##FFFFFF
##24367C1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01407E
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #24367c;
/* rgb */ color: rgb(36, 54, 124);
/* oklch */ color: oklch(36.2% 0.121 268.7);
Tailwind
colors: {
  custom: {
    50: '#6b6ca2',
    500: '#24367c',
    950: '#000000',
  },
}
SCSS
$custom: #24367c;
$custom-light: #6b6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#24367c",
  "rgb": {
    "r": 36,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 227.727,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36162,
    "c": 0.12087,
    "h": 268.7
  },
  "luminance": 0.04469
}

Semantic roles & 50–950 ramp

primary
#24367C
secondary
#AE9B4D
accent
#C049DE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #24367C

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

Preview Lab → · Contrast checker → · Palette generator →

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