#24366B#24366B

#24366B is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.8% C 0.095 H 267.3°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#24366B
RGBrgb(36, 54, 107)
HSLhsl(225, 50%, 28%)
HSVhsv(225, 66%, 42%)
CMYKcmyk(66.4%, 49.5%, 0%, 58%)
CIE-LABlab(23.92, 11.47, -33.18)
CIE-LCHlch(23.92, 35.11, 289.06°)
OKLaboklab(34.82% -0.0045 -0.0949)
OKLCHoklch(34.82% 0.095 267.3)
XYZxyz(4.6997, 4.0745, 14.4459)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24366B #6B5924
analogous
#24596B #24366B #36246B
triadic
#24366B #6B2436 #366B24
tetradic
#24366B #6B2459 #6B5924 #246B36
square
#24366B #6B2459 #6B5924 #246B36
split-complementary
#24366B #6B3624 #596B24
monochromatic
#080C17 #151F3D #24366B #334D99 #4867C1

Accessibility & contrast

On white

11.57
#24366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24366B
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24366B#FFFFFF#000000##FFFFFF
##24366B1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24366b;
/* rgb */ color: rgb(36, 54, 107);
/* oklch */ color: oklch(34.8% 0.095 267.3);
Tailwind
colors: {
  custom: {
    50: '#676c96',
    500: '#24366b',
    950: '#000000',
  },
}
SCSS
$custom: #24366b;
$custom-light: #676c96;
$custom-dark: #000000;
JSON
{
  "hex": "#24366b",
  "rgb": {
    "r": 36,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 224.789,
    "s": 49.65,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3482,
    "c": 0.09498,
    "h": 267.3
  },
  "luminance": 0.04075
}

Semantic roles & 50–950 ramp

primary
#24366B
secondary
#9E8A4D
accent
#B64FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #24366B

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

Preview Lab → · Contrast checker → · Palette generator →

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