#24329D#24329D

#24329D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.172 H 269.9°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#24329D
RGBrgb(36, 50, 157)
HSLhsl(233, 63%, 38%)
HSVhsv(233, 77%, 62%)
CMYKcmyk(77.1%, 68.2%, 0%, 38.4%)
CIE-LABlab(26.99, 33.39, -59.48)
CIE-LCHlch(26.99, 68.21, 299.31°)
OKLaboklab(38.41% -0.0002 -0.1721)
OKLCHoklch(38.41% 0.172 269.9)
XYZxyz(7.9519, 5.0897, 32.4551)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24329D #9D8F24
analogous
#246E9D #24329D #53249D
triadic
#24329D #9D2432 #329D24
tetradic
#24329D #9D246E #9D8F24 #249D53
square
#24329D #9D246E #9D8F24 #249D53
split-complementary
#24329D #9D5324 #6E9D24
monochromatic
#0D1239 #19226B #24329D #2F42CF #616FDB

Accessibility & contrast

On white

10.41
#24329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#24329D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24329D
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24329D#FFFFFF#000000##FFFFFF
##24329D1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #24329d;
/* rgb */ color: rgb(36, 50, 157);
/* oklch */ color: oklch(38.4% 0.172 269.9);
Tailwind
colors: {
  custom: {
    50: '#736abb',
    500: '#24329d',
    950: '#000000',
  },
}
SCSS
$custom: #24329d;
$custom-light: #736abb;
$custom-dark: #000000;
JSON
{
  "hex": "#24329d",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 233.058,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38406,
    "c": 0.17212,
    "h": 269.9
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#24329D
secondary
#C0B45D
accent
#D342E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #24329D

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

Preview Lab → · Contrast checker → · Palette generator →

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