#24328F#24328F

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

Color values

HEX#24328F
RGBrgb(36, 50, 143)
HSLhsl(232, 60%, 35%)
HSVhsv(232, 75%, 56%)
CMYKcmyk(74.8%, 65%, 0%, 43.9%)
CIE-LABlab(25.68, 28.16, -53.04)
CIE-LCHlch(25.68, 60.05, 297.97°)
OKLaboklab(37.05% 0.0008 -0.1533)
OKLCHoklch(37.05% 0.153 270.3)
XYZxyz(6.8244, 4.6387, 26.5170)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24328F #8F8124
analogous
#24678F #24328F #4C248F
triadic
#24328F #8F2432 #328F24
tetradic
#24328F #8F2467 #8F8124 #248F4C
square
#24328F #8F2467 #8F8124 #248F4C
split-complementary
#24328F #8F4C24 #678F24
monochromatic
#0B102D #18215E #24328F #3043C0 #5869D5

Accessibility & contrast

On white

10.89
#24328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#24328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24328F
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24328F#FFFFFF#000000##FFFFFF
##24328F1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24328f;
/* rgb */ color: rgb(36, 50, 143);
/* oklch */ color: oklch(37.0% 0.153 270.3);
Tailwind
colors: {
  custom: {
    50: '#6f6ab1',
    500: '#24328f',
    950: '#000000',
  },
}
SCSS
$custom: #24328f;
$custom-light: #6f6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#24328f",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 232.15,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37047,
    "c": 0.15327,
    "h": 270.3
  },
  "luminance": 0.04639
}

Semantic roles & 50–950 ramp

primary
#24328F
secondary
#B9AC55
accent
#CE45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #24328F

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

Preview Lab → · Contrast checker → · Palette generator →

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