#322783#322783

#322783 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.147 H 281.0°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#322783
RGBrgb(50, 39, 131)
HSLhsl(247, 54%, 33%)
HSVhsv(247, 70%, 51%)
CMYKcmyk(61.8%, 70.2%, 0%, 48.6%)
CIE-LABlab(22.89, 32.97, -50.08)
CIE-LCHlch(22.89, 59.96, 303.35°)
OKLaboklab(34.93% 0.0281 -0.1443)
OKLCHoklch(34.93% 0.147 281)
XYZxyz(6.1364, 3.7674, 21.8722)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322783 #788327
analogous
#274A83 #322783 #602783
triadic
#322783 #833227 #278332
tetradic
#322783 #83274A #788327 #278360
square
#322783 #83274A #788327 #278360
split-complementary
#322783 #836027 #4A8327
monochromatic
#0E0B25 #201954 #322783 #4435B2 #6557CD

Accessibility & contrast

On white

11.98
#322783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#322783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322783
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322783#FFFFFF#000000##FFFFFF
##3227831.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #322783;
/* rgb */ color: rgb(50, 39, 131);
/* oklch */ color: oklch(34.9% 0.147 281.0);
Tailwind
colors: {
  custom: {
    50: '#7462a8',
    500: '#322783',
    950: '#000000',
  },
}
SCSS
$custom: #322783;
$custom-light: #7462a8;
$custom-dark: #000000;
JSON
{
  "hex": "#322783",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 247.174,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3493,
    "c": 0.14699,
    "h": 281
  },
  "luminance": 0.03768
}

Semantic roles & 50–950 ramp

primary
#322783
secondary
#A7B254
accent
#DD4ACC
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322783

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

Preview Lab → · Contrast checker → · Palette generator →

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