#322283#322283

#322283 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.153 H 282.2°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#322283
RGBrgb(50, 34, 131)
HSLhsl(250, 59%, 32%)
HSVhsv(250, 74%, 51%)
CMYKcmyk(61.8%, 74%, 0%, 48.6%)
CIE-LABlab(21.80, 35.96, -51.87)
CIE-LCHlch(21.80, 63.11, 304.74°)
OKLaboklab(34.15% 0.0323 -0.1495)
OKLCHoklch(34.15% 0.153 282.2)
XYZxyz(5.9829, 3.4604, 21.8210)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322283 #738322
analogous
#224283 #322283 #632283
triadic
#322283 #833222 #228332
tetradic
#322283 #832242 #738322 #228363
square
#322283 #832242 #738322 #228363
split-complementary
#322283 #836322 #428322
monochromatic
#0D0922 #1F1552 #322283 #452FB4 #644ED1

Accessibility & contrast

On white

12.41
#322283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#322283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322283
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322283#FFFFFF#000000##FFFFFF
##3222831.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003181
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #322283;
/* rgb */ color: rgb(50, 34, 131);
/* oklch */ color: oklch(34.2% 0.153 282.2);
Tailwind
colors: {
  custom: {
    50: '#745fa8',
    500: '#322283',
    950: '#000000',
  },
}
SCSS
$custom: #322283;
$custom-light: #745fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#322283",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 249.897,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34153,
    "c": 0.15292,
    "h": 282.2
  },
  "luminance": 0.03461
}

Semantic roles & 50–950 ramp

primary
#322283
secondary
#A3B44C
accent
#E246C8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322283

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

Preview Lab → · Contrast checker → · Palette generator →

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