#24325F#24325F

#24325F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.0% C 0.082 H 268.6°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#24325F
RGBrgb(36, 50, 95)
HSLhsl(226, 45%, 26%)
HSVhsv(226, 62%, 37%)
CMYKcmyk(62.1%, 47.4%, 0%, 62.7%)
CIE-LABlab(21.88, 9.67, -28.65)
CIE-LCHlch(21.88, 30.23, 288.64°)
OKLaboklab(33% -0.0019 -0.0816)
OKLCHoklch(33% 0.082 268.6)
XYZxyz(3.9330, 3.4822, 11.2891)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24325F #5F5124
analogous
#244F5F #24325F #33245F
triadic
#24325F #5F2432 #325F24
tetradic
#24325F #5F244F #5F5124 #245F33
square
#24325F #5F244F #5F5124 #245F33
split-complementary
#24325F #5F3324 #4F5F24
monochromatic
#080C16 #131B33 #24325F #35498B #4661B8

Accessibility & contrast

On white

12.38
#24325F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#24325F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24325F
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24325F#FFFFFF#000000##FFFFFF
##24325F1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3761
Deuteranopia (green-blind)
#16325E
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #24325f;
/* rgb */ color: rgb(36, 50, 95);
/* oklch */ color: oklch(33.0% 0.082 268.6);
Tailwind
colors: {
  custom: {
    50: '#64698d',
    500: '#24325f',
    950: '#000000',
  },
}
SCSS
$custom: #24325f;
$custom-light: #64698d;
$custom-dark: #000000;
JSON
{
  "hex": "#24325f",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 95
  },
  "hsl": {
    "h": 225.763,
    "s": 45.038,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33001,
    "c": 0.08162,
    "h": 268.6
  },
  "luminance": 0.03482
}

Semantic roles & 50–950 ramp

primary
#24325F
secondary
#93824C
accent
#B653D5
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #24325F

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

Preview Lab → · Contrast checker → · Palette generator →

#24325F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva