#24326A#24326A

#24326A is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.099 H 269.9°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#24326A
RGBrgb(36, 50, 106)
HSLhsl(228, 49%, 28%)
HSVhsv(228, 66%, 42%)
CMYKcmyk(66%, 52.8%, 0%, 58.4%)
CIE-LABlab(22.64, 13.90, -34.59)
CIE-LCHlch(22.64, 37.28, 291.90°)
OKLaboklab(33.83% -0.0002 -0.0991)
OKLCHoklch(33.83% 0.099 269.9)
XYZxyz(4.4688, 3.6965, 14.1109)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24326A #6A5C24
analogous
#24556A #24326A #39246A
triadic
#24326A #6A2432 #326A24
tetradic
#24326A #6A2455 #6A5C24 #246A39
square
#24326A #6A2455 #6A5C24 #246A39
split-complementary
#24326A #6A3924 #556A24
monochromatic
#080B17 #141C3C #24326A #344898 #4860C1

Accessibility & contrast

On white

12.07
#24326A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#24326A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24326A
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24326A#FFFFFF#000000##FFFFFF
##24326A1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13396C
Deuteranopia (green-blind)
#043369
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #24326a;
/* rgb */ color: rgb(36, 50, 106);
/* oklch */ color: oklch(33.8% 0.099 269.9);
Tailwind
colors: {
  custom: {
    50: '#676995',
    500: '#24326a',
    950: '#000000',
  },
}
SCSS
$custom: #24326a;
$custom-light: #676995;
$custom-dark: #000000;
JSON
{
  "hex": "#24326a",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 106
  },
  "hsl": {
    "h": 228,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33827,
    "c": 0.09906,
    "h": 269.9
  },
  "luminance": 0.03697
}

Semantic roles & 50–950 ramp

primary
#24326A
secondary
#9D8D4D
accent
#BD4FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #24326A

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

Preview Lab → · Contrast checker → · Palette generator →

#24326A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva