#332385#332385

#332385 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.154 H 282.2°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#332385
RGBrgb(51, 35, 133)
HSLhsl(250, 58%, 33%)
HSVhsv(250, 74%, 52%)
CMYKcmyk(61.7%, 73.7%, 0%, 47.8%)
CIE-LABlab(22.30, 36.18, -52.30)
CIE-LCHlch(22.30, 63.60, 304.67°)
OKLaboklab(34.59% 0.0325 -0.1507)
OKLCHoklch(34.59% 0.154 282.2)
XYZxyz(6.1986, 3.5989, 22.5538)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332385 #758523
analogous
#234485 #332385 #642385
triadic
#332385 #853323 #238533
tetradic
#332385 #852344 #758523 #238564
square
#332385 #852344 #758523 #238564
split-complementary
#332385 #856423 #448523
monochromatic
#0E0924 #201655 #332385 #4630B5 #6651D1

Accessibility & contrast

On white

12.21
#332385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#332385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332385
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332385#FFFFFF#000000##FFFFFF
##3323851.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #332385;
/* rgb */ color: rgb(51, 35, 133);
/* oklch */ color: oklch(34.6% 0.154 282.2);
Tailwind
colors: {
  custom: {
    50: '#7560a9',
    500: '#332385',
    950: '#000000',
  },
}
SCSS
$custom: #332385;
$custom-light: #7560a9;
$custom-dark: #000000;
JSON
{
  "hex": "#332385",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 249.796,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34589,
    "c": 0.1542,
    "h": 282.2
  },
  "luminance": 0.03599
}

Semantic roles & 50–950 ramp

primary
#332385
secondary
#A4B54F
accent
#E246C8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #332385

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

Preview Lab → · Contrast checker → · Palette generator →

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