#322287#322287

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

Color values

HEX#322287
RGBrgb(50, 34, 135)
HSLhsl(250, 60%, 33%)
HSVhsv(250, 75%, 53%)
CMYKcmyk(63%, 74.8%, 0%, 47.1%)
CIE-LABlab(22.20, 37.26, -53.73)
CIE-LCHlch(22.20, 65.38, 304.74°)
OKLaboklab(34.56% 0.0314 -0.1549)
OKLCHoklch(34.56% 0.158 281.5)
XYZxyz(6.2592, 3.5710, 23.2764)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322287 #778722
analogous
#224487 #322287 #642287
triadic
#322287 #873222 #228732
tetradic
#322287 #872244 #778722 #228764
square
#322287 #872244 #778722 #228764
split-complementary
#322287 #876422 #448722
monochromatic
#0E0925 #201656 #322287 #442EB8 #6550D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##322287#FFFFFF#000000##FFFFFF
##3222871.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)
#00398A
Deuteranopia (green-blind)
#003185
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #322287;
/* rgb */ color: rgb(50, 34, 135);
/* oklch */ color: oklch(34.6% 0.158 281.5);
Tailwind
colors: {
  custom: {
    50: '#755fab',
    500: '#322287',
    950: '#000000',
  },
}
SCSS
$custom: #322287;
$custom-light: #755fab;
$custom-dark: #000000;
JSON
{
  "hex": "#322287",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 249.505,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34556,
    "c": 0.15807,
    "h": 281.5
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

primary
#322287
secondary
#A6B74E
accent
#E345CA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322287

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

Preview Lab → · Contrast checker → · Palette generator →

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