#24328D#24328D

#24328D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.150 H 270.3°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#24328D
RGBrgb(36, 50, 141)
HSLhsl(232, 59%, 35%)
HSVhsv(232, 74%, 55%)
CMYKcmyk(74.5%, 64.5%, 0%, 44.7%)
CIE-LABlab(25.50, 27.40, -52.09)
CIE-LCHlch(25.50, 58.86, 297.75°)
OKLaboklab(36.86% 0.0008 -0.1505)
OKLCHoklch(36.86% 0.151 270.3)
XYZxyz(6.6742, 4.5787, 25.7262)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24328D #8D7F24
analogous
#24678D #24328D #4B248D
triadic
#24328D #8D2432 #328D24
tetradic
#24328D #8D2467 #8D7F24 #248D4B
square
#24328D #8D2467 #8D7F24 #248D4B
split-complementary
#24328D #8D4B24 #678D24
monochromatic
#0B0F2B #18215C #24328D #3043BE #5768D4

Accessibility & contrast

On white

10.96
#24328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#24328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24328D
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24328D#FFFFFF#000000##FFFFFF
##24328D1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #24328d;
/* rgb */ color: rgb(36, 50, 141);
/* oklch */ color: oklch(36.9% 0.150 270.3);
Tailwind
colors: {
  custom: {
    50: '#6f69af',
    500: '#24328d',
    950: '#000000',
  },
}
SCSS
$custom: #24328d;
$custom-light: #6f69af;
$custom-dark: #000000;
JSON
{
  "hex": "#24328d",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 232,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36859,
    "c": 0.1505,
    "h": 270.3
  },
  "luminance": 0.04579
}

Semantic roles & 50–950 ramp

primary
#24328D
secondary
#B8AB54
accent
#CE45E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #24328D

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

Preview Lab → · Contrast checker → · Palette generator →

#24328D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva