#24328E#24328E

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

Color values

HEX#24328E
RGBrgb(36, 50, 142)
HSLhsl(232, 60%, 35%)
HSVhsv(232, 75%, 56%)
CMYKcmyk(74.6%, 64.8%, 0%, 44.3%)
CIE-LABlab(25.59, 27.78, -52.56)
CIE-LCHlch(25.59, 59.46, 297.86°)
OKLaboklab(36.95% 0.0008 -0.1519)
OKLCHoklch(36.95% 0.152 270.3)
XYZxyz(6.7490, 4.6086, 26.1198)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24328E #8E8024
analogous
#24678E #24328E #4B248E
triadic
#24328E #8E2432 #328E24
tetradic
#24328E #8E2467 #8E8024 #248E4B
square
#24328E #8E2467 #8E8024 #248E4B
split-complementary
#24328E #8E4B24 #678E24
monochromatic
#0B102C #18215D #24328E #3043BF #5868D5

Accessibility & contrast

On white

10.93
#24328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24328E
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24328E#FFFFFF#000000##FFFFFF
##24328E1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #24328e;
/* rgb */ color: rgb(36, 50, 142);
/* oklch */ color: oklch(37.0% 0.152 270.3);
Tailwind
colors: {
  custom: {
    50: '#6f69b0',
    500: '#24328e',
    950: '#000000',
  },
}
SCSS
$custom: #24328e;
$custom-light: #6f69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24328e",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 232.075,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36953,
    "c": 0.15189,
    "h": 270.3
  },
  "luminance": 0.04609
}

Semantic roles & 50–950 ramp

primary
#24328E
secondary
#B9AC55
accent
#CE45E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #24328E

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

Preview Lab → · Contrast checker → · Palette generator →

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