#24366C#24366C

#24366C is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.097 H 267.4°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#24366C
RGBrgb(36, 54, 108)
HSLhsl(225, 50%, 28%)
HSVhsv(225, 67%, 42%)
CMYKcmyk(66.7%, 50%, 0%, 57.6%)
CIE-LABlab(23.99, 11.85, -33.72)
CIE-LCHlch(23.99, 35.74, 289.37°)
OKLaboklab(34.89% -0.0044 -0.0964)
OKLCHoklch(34.89% 0.097 267.4)
XYZxyz(4.7526, 4.0957, 14.7245)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24366C #6C5A24
analogous
#245A6C #24366C #36246C
triadic
#24366C #6C2436 #366C24
tetradic
#24366C #6C245A #6C5A24 #246C36
square
#24366C #6C245A #6C5A24 #246C36
split-complementary
#24366C #6C3624 #5A6C24
monochromatic
#080B17 #151F3E #24366C #334D9A #4867C2

Accessibility & contrast

On white

11.54
#24366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#24366C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24366C
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24366C#FFFFFF#000000##FFFFFF
##24366C1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3C6E
Deuteranopia (green-blind)
#0D366B
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #24366c;
/* rgb */ color: rgb(36, 54, 108);
/* oklch */ color: oklch(34.9% 0.097 267.4);
Tailwind
colors: {
  custom: {
    50: '#676c96',
    500: '#24366c',
    950: '#000000',
  },
}
SCSS
$custom: #24366c;
$custom-light: #676c96;
$custom-dark: #000000;
JSON
{
  "hex": "#24366c",
  "rgb": {
    "r": 36,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 225,
    "s": 50,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34895,
    "c": 0.09654,
    "h": 267.4
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#24366C
secondary
#9F8B4D
accent
#B74EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #24366C

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

Preview Lab → · Contrast checker → · Palette generator →

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