#24328B#24328B

#24328B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.148 H 270.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#24328B
RGBrgb(36, 50, 139)
HSLhsl(232, 59%, 34%)
HSVhsv(232, 74%, 55%)
CMYKcmyk(74.1%, 64%, 0%, 45.5%)
CIE-LABlab(25.32, 26.65, -51.14)
CIE-LCHlch(25.32, 57.67, 297.52°)
OKLaboklab(36.67% 0.0009 -0.1477)
OKLCHoklch(36.67% 0.148 270.4)
XYZxyz(6.5268, 4.5197, 24.9495)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24328B #8B7D24
analogous
#24668B #24328B #4A248B
triadic
#24328B #8B2432 #328B24
tetradic
#24328B #8B2466 #8B7D24 #248B4A
square
#24328B #8B2466 #8B7D24 #248B4A
split-complementary
#24328B #8B4A24 #668B24
monochromatic
#0B0F2A #17215A #24328B #3143BC #5667D3

Accessibility & contrast

On white

11.03
#24328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#24328B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24328B
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24328B#FFFFFF#000000##FFFFFF
##24328B1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #24328b;
/* rgb */ color: rgb(36, 50, 139);
/* oklch */ color: oklch(36.7% 0.148 270.4);
Tailwind
colors: {
  custom: {
    50: '#6e69ae',
    500: '#24328b',
    950: '#000000',
  },
}
SCSS
$custom: #24328b;
$custom-light: #6e69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#24328b",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 231.845,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36671,
    "c": 0.14772,
    "h": 270.4
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#24328B
secondary
#B7AA53
accent
#CD46E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #24328B

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

Preview Lab → · Contrast checker → · Palette generator →

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