#322F95#322F95

#322F95 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.161 H 276.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#322F95
RGBrgb(50, 47, 149)
HSLhsl(242, 52%, 38%)
HSVhsv(242, 68%, 58%)
CMYKcmyk(66.4%, 68.5%, 0%, 41.6%)
CIE-LABlab(26.39, 34.14, -55.53)
CIE-LCHlch(26.39, 65.19, 301.58°)
OKLaboklab(37.97% 0.019 -0.1602)
OKLCHoklch(37.97% 0.161 276.7)
XYZxyz(7.7550, 4.8804, 28.9613)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F95 #92952F
analogous
#2F5F95 #322F95 #652F95
triadic
#322F95 #95322F #2F9532
tetradic
#322F95 #952F5F #92952F #2F9565
square
#322F95 #952F5F #92952F #2F9565
split-complementary
#322F95 #95652F #5F952F
monochromatic
#131238 #222066 #322F95 #433FC2 #706DD1

Accessibility & contrast

On white

10.63
#322F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#322F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F95
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F95#FFFFFF#000000##FFFFFF
##322F951.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #322f95;
/* rgb */ color: rgb(50, 47, 149);
/* oklch */ color: oklch(38.0% 0.161 276.7);
Tailwind
colors: {
  custom: {
    50: '#7768b5',
    500: '#322f95',
    950: '#000000',
  },
}
SCSS
$custom: #322f95;
$custom-light: #7768b5;
$custom-dark: #000000;
JSON
{
  "hex": "#322f95",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 241.765,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37971,
    "c": 0.16136,
    "h": 276.7
  },
  "luminance": 0.04881
}

Semantic roles & 50–950 ramp

primary
#322F95
secondary
#B6B867
accent
#DB4CD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #322F95

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

Preview Lab → · Contrast checker → · Palette generator →

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