#322F82#322F82

#322F82 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.135 H 278.8°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#322F82
RGBrgb(50, 47, 130)
HSLhsl(242, 47%, 35%)
HSVhsv(242, 64%, 51%)
CMYKcmyk(61.5%, 63.8%, 0%, 49%)
CIE-LABlab(24.71, 27.52, -46.48)
CIE-LCHlch(24.71, 54.01, 300.63°)
OKLaboklab(36.23% 0.0208 -0.1337)
OKLCHoklch(36.23% 0.135 278.8)
XYZxyz(6.3599, 4.3224, 21.6139)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F82 #7F822F
analogous
#2F5582 #322F82 #5C2F82
triadic
#322F82 #82322F #2F8232
tetradic
#322F82 #822F55 #7F822F #2F825C
square
#322F82 #822F55 #7F822F #2F825C
split-complementary
#322F82 #825C2F #55822F
monochromatic
#0F0E28 #211F55 #322F82 #433FAF #6864C7

Accessibility & contrast

On white

11.26
#322F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#322F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F82
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F82#FFFFFF#000000##FFFFFF
##322F821.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #322f82;
/* rgb */ color: rgb(50, 47, 130);
/* oklch */ color: oklch(36.2% 0.135 278.8);
Tailwind
colors: {
  custom: {
    50: '#7368a7',
    500: '#322f82',
    950: '#000000',
  },
}
SCSS
$custom: #322f82;
$custom-light: #7368a7;
$custom-dark: #000000;
JSON
{
  "hex": "#322f82",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 242.169,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36226,
    "c": 0.13527,
    "h": 278.8
  },
  "luminance": 0.04323
}

Semantic roles & 50–950 ramp

primary
#322F82
secondary
#ABAE5F
accent
#D751D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #322F82

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

Preview Lab → · Contrast checker → · Palette generator →

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