#322681#322681

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

Color values

HEX#322681
RGBrgb(50, 38, 129)
HSLhsl(248, 54%, 33%)
HSVhsv(248, 71%, 51%)
CMYKcmyk(61.2%, 70.5%, 0%, 49.4%)
CIE-LABlab(22.48, 32.91, -49.50)
CIE-LCHlch(22.48, 59.44, 303.62°)
OKLaboklab(34.58% 0.0293 -0.1426)
OKLCHoklch(34.58% 0.146 281.6)
XYZxyz(5.9697, 3.6489, 21.1544)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322681 #758126
analogous
#264781 #322681 #5F2681
triadic
#322681 #813226 #268132
tetradic
#322681 #812647 #758126 #26815F
square
#322681 #812647 #758126 #26815F
split-complementary
#322681 #815F26 #478126
monochromatic
#0D0A22 #201852 #322681 #4434B0 #6455CD

Accessibility & contrast

On white

12.14
#322681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#322681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322681
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322681#FFFFFF#000000##FFFFFF
##3226811.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#00327F
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #322681;
/* rgb */ color: rgb(50, 38, 129);
/* oklch */ color: oklch(34.6% 0.146 281.6);
Tailwind
colors: {
  custom: {
    50: '#7461a6',
    500: '#322681',
    950: '#000000',
  },
}
SCSS
$custom: #322681;
$custom-light: #7461a6;
$custom-dark: #000000;
JSON
{
  "hex": "#322681",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 129
  },
  "hsl": {
    "h": 247.912,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34576,
    "c": 0.14554,
    "h": 281.6
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

primary
#322681
secondary
#A5B151
accent
#DE4ACA
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #322681

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

Preview Lab → · Contrast checker → · Palette generator →

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