#322D9F#322D9F

#322D9F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.177 H 276.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#322D9F
RGBrgb(50, 45, 159)
HSLhsl(243, 56%, 40%)
HSVhsv(243, 72%, 62%)
CMYKcmyk(68.6%, 71.7%, 0%, 37.6%)
CIE-LABlab(26.90, 38.78, -60.82)
CIE-LCHlch(26.90, 72.13, 302.52°)
OKLaboklab(38.63% 0.0189 -0.1757)
OKLCHoklch(38.63% 0.177 276.1)
XYZxyz(8.5097, 5.0573, 33.3219)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322D9F #9A9F2D
analogous
#2D619F #322D9F #6B2D9F
triadic
#322D9F #9F322D #2D9F32
tetradic
#322D9F #9F2D61 #9A9F2D #2D9F6B
square
#322D9F #9F2D61 #9A9F2D #2D9F6B
split-complementary
#322D9F #9F6B2D #619F2D
monochromatic
#141240 #23206F #322D9F #4640C9 #7470D6

Accessibility & contrast

On white

10.44
#322D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#322D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322D9F
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322D9F#FFFFFF#000000##FFFFFF
##322D9F1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #322d9f;
/* rgb */ color: rgb(50, 45, 159);
/* oklch */ color: oklch(38.6% 0.177 276.1);
Tailwind
colors: {
  custom: {
    50: '#7967bc',
    500: '#322d9f',
    950: '#000000',
  },
}
SCSS
$custom: #322d9f;
$custom-light: #7967bc;
$custom-dark: #000000;
JSON
{
  "hex": "#322d9f",
  "rgb": {
    "r": 50,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 242.632,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.38626,
    "c": 0.17671,
    "h": 276.1
  },
  "luminance": 0.05058
}

Semantic roles & 50–950 ramp

primary
#322D9F
secondary
#BABE6A
accent
#DF49D9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #322D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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