#322688#322688

#322688 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.155 H 280.4°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#322688
RGBrgb(50, 38, 136)
HSLhsl(247, 56%, 34%)
HSVhsv(247, 72%, 53%)
CMYKcmyk(63.2%, 72.1%, 0%, 46.7%)
CIE-LABlab(23.14, 35.25, -52.81)
CIE-LCHlch(23.14, 63.49, 303.72°)
OKLaboklab(35.26% 0.0281 -0.1522)
OKLCHoklch(35.26% 0.155 280.4)
XYZxyz(6.4510, 3.8414, 23.6893)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322688 #7C8826
analogous
#264B88 #322688 #632688
triadic
#322688 #883226 #268832
tetradic
#322688 #88264B #7C8826 #268863
square
#322688 #88264B #7C8826 #268863
split-complementary
#322688 #886326 #4B8826
monochromatic
#0F0B28 #201958 #322688 #4433B8 #6758D0

Accessibility & contrast

On white

11.88
#322688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#322688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322688
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322688#FFFFFF#000000##FFFFFF
##3226881.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003386
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #322688;
/* rgb */ color: rgb(50, 38, 136);
/* oklch */ color: oklch(35.3% 0.155 280.4);
Tailwind
colors: {
  custom: {
    50: '#7562ac',
    500: '#322688',
    950: '#000000',
  },
}
SCSS
$custom: #322688;
$custom-light: #7562ac;
$custom-dark: #000000;
JSON
{
  "hex": "#322688",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 247.347,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35257,
    "c": 0.15481,
    "h": 280.4
  },
  "luminance": 0.03842
}

Semantic roles & 50–950 ramp

primary
#322688
secondary
#A9B555
accent
#E048CD
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322688

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

Preview Lab → · Contrast checker → · Palette generator →

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