#322697#322697

#322697 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.174 H 278.3°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#322697
RGBrgb(50, 38, 151)
HSLhsl(246, 60%, 37%)
HSVhsv(246, 75%, 59%)
CMYKcmyk(66.9%, 74.8%, 0%, 40.8%)
CIE-LABlab(24.63, 40.19, -59.65)
CIE-LCHlch(24.63, 71.93, 303.97°)
OKLaboklab(36.77% 0.025 -0.1722)
OKLCHoklch(36.77% 0.174 278.3)
XYZxyz(7.5926, 4.2981, 29.7016)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322697 #8B9726
analogous
#265297 #322697 #6B2697
triadic
#322697 #973226 #269732
tetradic
#322697 #972652 #8B9726 #26976B
square
#322697 #972652 #8B9726 #26976B
split-complementary
#322697 #976B26 #529726
monochromatic
#120D35 #221A66 #322697 #4232C8 #6D60D7

Accessibility & contrast

On white

11.29
#322697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#322697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322697
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322697#FFFFFF#000000##FFFFFF
##3226971.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #322697;
/* rgb */ color: rgb(50, 38, 151);
/* oklch */ color: oklch(36.8% 0.174 278.3);
Tailwind
colors: {
  custom: {
    50: '#7862b7',
    500: '#322697',
    950: '#000000',
  },
}
SCSS
$custom: #322697;
$custom-light: #7862b7;
$custom-dark: #000000;
JSON
{
  "hex": "#322697",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 246.372,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36772,
    "c": 0.17406,
    "h": 278.3
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#322697
secondary
#B2BC5C
accent
#E345D2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322697

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

Preview Lab → · Contrast checker → · Palette generator →

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