#322285#322285

#322285 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.155 H 281.8°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#322285
RGBrgb(50, 34, 133)
HSLhsl(250, 59%, 33%)
HSVhsv(250, 74%, 52%)
CMYKcmyk(62.4%, 74.4%, 0%, 47.8%)
CIE-LABlab(22.00, 36.61, -52.80)
CIE-LCHlch(22.00, 64.25, 304.74°)
OKLaboklab(34.35% 0.0318 -0.1522)
OKLCHoklch(34.35% 0.156 281.8)
XYZxyz(6.1197, 3.5152, 22.5418)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322285 #758522
analogous
#224385 #322285 #632285
triadic
#322285 #853222 #228532
tetradic
#322285 #852243 #758522 #228563
square
#322285 #852243 #758522 #228563
split-complementary
#322285 #856322 #438522
monochromatic
#0D0924 #201654 #322285 #442EB6 #644FD2

Accessibility & contrast

On white

12.33
#322285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#322285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322285
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322285#FFFFFF#000000##FFFFFF
##3222851.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322285;
/* rgb */ color: rgb(50, 34, 133);
/* oklch */ color: oklch(34.4% 0.155 281.8);
Tailwind
colors: {
  custom: {
    50: '#755fa9',
    500: '#322285',
    950: '#000000',
  },
}
SCSS
$custom: #322285;
$custom-light: #755fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#322285",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 249.697,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34354,
    "c": 0.1555,
    "h": 281.8
  },
  "luminance": 0.03516
}

Semantic roles & 50–950 ramp

primary
#322285
secondary
#A5B64D
accent
#E245C9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322285

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

Preview Lab → · Contrast checker → · Palette generator →

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