#322698#322698

#322698 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.175 H 278.1°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#322698
RGBrgb(50, 38, 152)
HSLhsl(246, 60%, 37%)
HSVhsv(246, 75%, 60%)
CMYKcmyk(67.1%, 75%, 0%, 40.4%)
CIE-LABlab(24.74, 40.52, -60.10)
CIE-LCHlch(24.74, 72.48, 303.99°)
OKLaboklab(36.88% 0.0248 -0.1735)
OKLCHoklch(36.88% 0.175 278.1)
XYZxyz(7.6742, 4.3307, 30.1312)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322698 #8C9826
analogous
#265398 #322698 #6B2698
triadic
#322698 #983226 #269832
tetradic
#322698 #982653 #8C9826 #26986B
square
#322698 #982653 #8C9826 #26986B
split-complementary
#322698 #986B26 #539826
monochromatic
#120E36 #221A67 #322698 #4232C9 #6D61D7

Accessibility & contrast

On white

11.25
#322698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#322698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322698
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322698#FFFFFF#000000##FFFFFF
##3226981.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9B
Deuteranopia (green-blind)
#003696
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #322698;
/* rgb */ color: rgb(50, 38, 152);
/* oklch */ color: oklch(36.9% 0.175 278.1);
Tailwind
colors: {
  custom: {
    50: '#7862b7',
    500: '#322698',
    950: '#000000',
  },
}
SCSS
$custom: #322698;
$custom-light: #7862b7;
$custom-dark: #000000;
JSON
{
  "hex": "#322698",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 246.316,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36875,
    "c": 0.17531,
    "h": 278.1
  },
  "luminance": 0.04331
}

Semantic roles & 50–950 ramp

primary
#322698
secondary
#B3BD5D
accent
#E345D2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322698

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

Preview Lab → · Contrast checker → · Palette generator →

#322698 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva