#322F9F#322F9F

#322F9F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.174 H 275.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#322F9F
RGBrgb(50, 47, 159)
HSLhsl(242, 54%, 40%)
HSVhsv(242, 70%, 62%)
CMYKcmyk(68.6%, 70.4%, 0%, 37.6%)
CIE-LABlab(27.33, 37.58, -60.10)
CIE-LCHlch(27.33, 70.88, 302.02°)
OKLaboklab(38.94% 0.0176 -0.1736)
OKLCHoklch(38.94% 0.174 275.8)
XYZxyz(8.5879, 5.2136, 33.3479)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F9F #9C9F2F
analogous
#2F649F #322F9F #6A2F9F
triadic
#322F9F #9F322F #2F9F32
tetradic
#322F9F #9F2F64 #9C9F2F #2F9F6A
square
#322F9F #9F2F64 #9C9F2F #2F9F6A
split-complementary
#322F9F #9F6A2F #649F2F
monochromatic
#141341 #232170 #322F9F #4744C8 #7573D6

Accessibility & contrast

On white

10.28
#322F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#322F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F9F
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F9F#FFFFFF#000000##FFFFFF
##322F9F1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #322f9f;
/* rgb */ color: rgb(50, 47, 159);
/* oklch */ color: oklch(38.9% 0.174 275.8);
Tailwind
colors: {
  custom: {
    50: '#7968bc',
    500: '#322f9f',
    950: '#000000',
  },
}
SCSS
$custom: #322f9f;
$custom-light: #7968bc;
$custom-dark: #000000;
JSON
{
  "hex": "#322f9f",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 241.607,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3894,
    "c": 0.17448,
    "h": 275.8
  },
  "luminance": 0.05214
}

Semantic roles & 50–950 ramp

primary
#322F9F
secondary
#BBBD6D
accent
#DE4ADA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #322F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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