#322A98#322A98

#322A98 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.171 H 277.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#322A98
RGBrgb(50, 42, 152)
HSLhsl(244, 57%, 38%)
HSVhsv(244, 72%, 60%)
CMYKcmyk(67.1%, 72.4%, 0%, 40.4%)
CIE-LABlab(25.56, 38.21, -58.73)
CIE-LCHlch(25.56, 70.07, 303.04°)
OKLaboklab(37.46% 0.0222 -0.1696)
OKLCHoklch(37.46% 0.171 277.4)
XYZxyz(7.8090, 4.6004, 30.1761)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322A98 #90982A
analogous
#2A5998 #322A98 #692A98
triadic
#322A98 #98322A #2A9832
tetradic
#322A98 #982A59 #90982A #2A9869
square
#322A98 #982A59 #90982A #2A9869
split-complementary
#322A98 #98692A #59982A
monochromatic
#121038 #221D68 #322A98 #4237C8 #6F67D5

Accessibility & contrast

On white

10.94
#322A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#322A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322A98
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322A98#FFFFFF#000000##FFFFFF
##322A981.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#003896
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #322a98;
/* rgb */ color: rgb(50, 42, 152);
/* oklch */ color: oklch(37.5% 0.171 277.4);
Tailwind
colors: {
  custom: {
    50: '#7865b7',
    500: '#322a98',
    950: '#000000',
  },
}
SCSS
$custom: #322a98;
$custom-light: #7865b7;
$custom-dark: #000000;
JSON
{
  "hex": "#322a98",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 244.364,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37464,
    "c": 0.17103,
    "h": 277.4
  },
  "luminance": 0.04601
}

Semantic roles & 50–950 ramp

primary
#322A98
secondary
#B5BB62
accent
#E048D5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #322A98

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

Preview Lab → · Contrast checker → · Palette generator →

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