#322682#322682

#322682 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.147 H 281.4°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#322682
RGBrgb(50, 38, 130)
HSLhsl(248, 55%, 33%)
HSVhsv(248, 71%, 51%)
CMYKcmyk(61.5%, 70.8%, 0%, 49%)
CIE-LABlab(22.57, 33.24, -49.98)
CIE-LCHlch(22.57, 60.02, 303.63°)
OKLaboklab(34.67% 0.0291 -0.144)
OKLCHoklch(34.67% 0.147 281.4)
XYZxyz(6.0365, 3.6756, 21.5061)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322682 #768226
analogous
#264882 #322682 #602682
triadic
#322682 #823226 #268232
tetradic
#322682 #822648 #768226 #268260
square
#322682 #822648 #768226 #268260
split-complementary
#322682 #826026 #488226
monochromatic
#0E0A23 #201853 #322682 #4434B1 #6555CD

Accessibility & contrast

On white

12.10
#322682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#322682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322682
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322682#FFFFFF#000000##FFFFFF
##3226821.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #322682;
/* rgb */ color: rgb(50, 38, 130);
/* oklch */ color: oklch(34.7% 0.147 281.4);
Tailwind
colors: {
  custom: {
    50: '#7461a7',
    500: '#322682',
    950: '#000000',
  },
}
SCSS
$custom: #322682;
$custom-light: #7461a7;
$custom-dark: #000000;
JSON
{
  "hex": "#322682",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 130
  },
  "hsl": {
    "h": 247.826,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34672,
    "c": 0.14688,
    "h": 281.4
  },
  "luminance": 0.03676
}

Semantic roles & 50–950 ramp

primary
#322682
secondary
#A5B252
accent
#DE4ACB
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322682

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

Preview Lab → · Contrast checker → · Palette generator →

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