#322F87#322F87

#322F87 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.142 H 278.3°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#322F87
RGBrgb(50, 47, 135)
HSLhsl(242, 48%, 36%)
HSVhsv(242, 65%, 53%)
CMYKcmyk(63%, 65.2%, 0%, 47.1%)
CIE-LABlab(25.14, 29.27, -48.91)
CIE-LCHlch(25.14, 57.00, 300.90°)
OKLaboklab(36.67% 0.0204 -0.1408)
OKLCHoklch(36.67% 0.142 278.3)
XYZxyz(6.7037, 4.4599, 23.4246)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F87 #84872F
analogous
#2F5887 #322F87 #5E2F87
triadic
#322F87 #87322F #2F8732
tetradic
#322F87 #872F58 #84872F #2F875E
square
#322F87 #872F58 #84872F #2F875E
split-complementary
#322F87 #875E2F #58872F
monochromatic
#100F2C #211F5A #322F87 #433FB4 #6A66CA

Accessibility & contrast

On white

11.10
#322F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#322F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F87
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F87#FFFFFF#000000##FFFFFF
##322F871.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #322f87;
/* rgb */ color: rgb(50, 47, 135);
/* oklch */ color: oklch(36.7% 0.142 278.3);
Tailwind
colors: {
  custom: {
    50: '#7468ab',
    500: '#322f87',
    950: '#000000',
  },
}
SCSS
$custom: #322f87;
$custom-light: #7468ab;
$custom-dark: #000000;
JSON
{
  "hex": "#322f87",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 242.045,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36672,
    "c": 0.14229,
    "h": 278.3
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

primary
#322F87
secondary
#AEB161
accent
#D850D3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #322F87

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

Preview Lab → · Contrast checker → · Palette generator →

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