#322997#322997

#322997 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.171 H 277.7°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#322997
RGBrgb(50, 41, 151)
HSLhsl(245, 57%, 38%)
HSVhsv(245, 73%, 59%)
CMYKcmyk(66.9%, 72.8%, 0%, 40.8%)
CIE-LABlab(25.25, 38.46, -58.63)
CIE-LCHlch(25.25, 70.12, 303.27°)
OKLaboklab(37.21% 0.023 -0.1693)
OKLCHoklch(37.21% 0.171 277.7)
XYZxyz(7.6924, 4.4977, 29.7349)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322997 #8E9729
analogous
#295797 #322997 #692997
triadic
#322997 #973229 #299732
tetradic
#322997 #972957 #8E9729 #299769
square
#322997 #972957 #8E9729 #299769
split-complementary
#322997 #976929 #579729
monochromatic
#120F37 #221C67 #322997 #4236C7 #6E65D5

Accessibility & contrast

On white

11.05
#322997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#322997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322997
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322997#FFFFFF#000000##FFFFFF
##3229971.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #322997;
/* rgb */ color: rgb(50, 41, 151);
/* oklch */ color: oklch(37.2% 0.171 277.7);
Tailwind
colors: {
  custom: {
    50: '#7864b7',
    500: '#322997',
    950: '#000000',
  },
}
SCSS
$custom: #322997;
$custom-light: #7864b7;
$custom-dark: #000000;
JSON
{
  "hex": "#322997",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 244.909,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37212,
    "c": 0.17085,
    "h": 277.7
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#322997
secondary
#B4BB61
accent
#E147D4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #322997

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

Preview Lab → · Contrast checker → · Palette generator →

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