#322F94#322F94

#322F94 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.160 H 276.8°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#322F94
RGBrgb(50, 47, 148)
HSLhsl(242, 52%, 38%)
HSVhsv(242, 68%, 58%)
CMYKcmyk(66.2%, 68.2%, 0%, 42%)
CIE-LABlab(26.30, 33.80, -55.07)
CIE-LCHlch(26.30, 64.61, 301.54°)
OKLaboklab(37.88% 0.0191 -0.1589)
OKLCHoklch(37.88% 0.16 276.8)
XYZxyz(7.6755, 4.8486, 28.5426)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F94 #91942F
analogous
#2F5E94 #322F94 #642F94
triadic
#322F94 #94322F #2F9432
tetradic
#322F94 #942F5E #91942F #2F9464
square
#322F94 #942F5E #91942F #2F9464
split-complementary
#322F94 #94642F #5E942F
monochromatic
#131137 #222066 #322F94 #423EC2 #706DD1

Accessibility & contrast

On white

10.66
#322F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#322F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F94
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F94#FFFFFF#000000##FFFFFF
##322F941.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #322f94;
/* rgb */ color: rgb(50, 47, 148);
/* oklch */ color: oklch(37.9% 0.160 276.8);
Tailwind
colors: {
  custom: {
    50: '#7768b4',
    500: '#322f94',
    950: '#000000',
  },
}
SCSS
$custom: #322f94;
$custom-light: #7768b4;
$custom-dark: #000000;
JSON
{
  "hex": "#322f94",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 241.782,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37876,
    "c": 0.16002,
    "h": 276.8
  },
  "luminance": 0.04849
}

Semantic roles & 50–950 ramp

primary
#322F94
secondary
#B5B867
accent
#DB4DD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #322F94

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

Preview Lab → · Contrast checker → · Palette generator →

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