#322F98#322F98

#322F98 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.165 H 276.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#322F98
RGBrgb(50, 47, 152)
HSLhsl(242, 53%, 39%)
HSVhsv(242, 69%, 60%)
CMYKcmyk(67.1%, 69.1%, 0%, 40.4%)
CIE-LABlab(26.67, 35.18, -56.92)
CIE-LCHlch(26.67, 66.91, 301.72°)
OKLaboklab(38.26% 0.0186 -0.1643)
OKLCHoklch(38.26% 0.165 276.4)
XYZxyz(7.9976, 4.9775, 30.2390)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F98 #95982F
analogous
#2F6198 #322F98 #672F98
triadic
#322F98 #98322F #2F9832
tetradic
#322F98 #982F61 #95982F #2F9867
square
#322F98 #982F61 #95982F #2F9867
split-complementary
#322F98 #98672F #61982F
monochromatic
#13123B #232169 #322F98 #4440C4 #726FD2

Accessibility & contrast

On white

10.52
#322F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#322F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F98
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F98#FFFFFF#000000##FFFFFF
##322F981.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #322f98;
/* rgb */ color: rgb(50, 47, 152);
/* oklch */ color: oklch(38.3% 0.165 276.4);
Tailwind
colors: {
  custom: {
    50: '#7868b7',
    500: '#322f98',
    950: '#000000',
  },
}
SCSS
$custom: #322f98;
$custom-light: #7868b7;
$custom-dark: #000000;
JSON
{
  "hex": "#322f98",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 152
  },
  "hsl": {
    "h": 241.714,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38259,
    "c": 0.16534,
    "h": 276.4
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

primary
#322F98
secondary
#B8BA69
accent
#DC4CD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #322F98

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

Preview Lab → · Contrast checker → · Palette generator →

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