#332384#332384

#332384 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.153 H 282.4°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#332384
RGBrgb(51, 35, 132)
HSLhsl(250, 58%, 33%)
HSVhsv(250, 73%, 52%)
CMYKcmyk(61.4%, 73.5%, 0%, 48.2%)
CIE-LABlab(22.20, 35.85, -51.84)
CIE-LCHlch(22.20, 63.03, 304.67°)
OKLaboklab(34.49% 0.0327 -0.1494)
OKLCHoklch(34.49% 0.153 282.4)
XYZxyz(6.1298, 3.5714, 22.1917)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332384 #748423
analogous
#234384 #332384 #632384
triadic
#332384 #843323 #238433
tetradic
#332384 #842343 #748423 #238463
square
#332384 #842343 #748423 #238463
split-complementary
#332384 #846323 #438423
monochromatic
#0E0923 #201654 #332384 #4630B4 #6651D1

Accessibility & contrast

On white

12.25
#332384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#332384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332384
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332384#FFFFFF#000000##FFFFFF
##3323841.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #332384;
/* rgb */ color: rgb(51, 35, 132);
/* oklch */ color: oklch(34.5% 0.153 282.4);
Tailwind
colors: {
  custom: {
    50: '#7560a9',
    500: '#332384',
    950: '#000000',
  },
}
SCSS
$custom: #332384;
$custom-light: #7560a9;
$custom-dark: #000000;
JSON
{
  "hex": "#332384",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 249.897,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3449,
    "c": 0.15291,
    "h": 282.4
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#332384
secondary
#A4B44E
accent
#E146C8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #332384

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

Preview Lab → · Contrast checker → · Palette generator →

#332384 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva