#322F89#322F89

#322F89 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.145 H 278.0°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#322F89
RGBrgb(50, 47, 137)
HSLhsl(242, 49%, 36%)
HSVhsv(242, 66%, 54%)
CMYKcmyk(63.5%, 65.7%, 0%, 46.3%)
CIE-LABlab(25.31, 29.97, -49.88)
CIE-LCHlch(25.31, 58.19, 301.00°)
OKLaboklab(36.85% 0.0203 -0.1436)
OKLCHoklch(36.85% 0.145 278)
XYZxyz(6.8458, 4.5168, 24.1731)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F89 #86892F
analogous
#2F5989 #322F89 #5F2F89
triadic
#322F89 #89322F #2F8932
tetradic
#322F89 #892F59 #86892F #2F895F
square
#322F89 #892F59 #86892F #2F895F
split-complementary
#322F89 #895F2F #59892F
monochromatic
#11102E #211F5B #322F89 #433FB7 #6B67CB

Accessibility & contrast

On white

11.03
#322F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#322F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F89
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F89#FFFFFF#000000##FFFFFF
##322F891.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #322f89;
/* rgb */ color: rgb(50, 47, 137);
/* oklch */ color: oklch(36.9% 0.145 278.0);
Tailwind
colors: {
  custom: {
    50: '#7468ac',
    500: '#322f89',
    950: '#000000',
  },
}
SCSS
$custom: #322f89;
$custom-light: #7468ac;
$custom-dark: #000000;
JSON
{
  "hex": "#322f89",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 242,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36853,
    "c": 0.14507,
    "h": 278
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#322F89
secondary
#AFB262
accent
#D84FD4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #322F89

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

Preview Lab → · Contrast checker → · Palette generator →

#322F89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva