#322E98#322E98

#322E98 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.167 H 276.7°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#322E98
RGBrgb(50, 46, 152)
HSLhsl(242, 54%, 39%)
HSVhsv(242, 70%, 60%)
CMYKcmyk(67.1%, 69.7%, 0%, 40.4%)
CIE-LABlab(26.44, 35.79, -57.29)
CIE-LCHlch(26.44, 67.55, 302.00°)
OKLaboklab(38.1% 0.0193 -0.1654)
OKLCHoklch(38.1% 0.167 276.7)
XYZxyz(7.9580, 4.8984, 30.2258)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322E98 #94982E
analogous
#2E5F98 #322E98 #672E98
triadic
#322E98 #98322E #2E9832
tetradic
#322E98 #982E5F #94982E #2E9867
square
#322E98 #982E5F #94982E #2E9867
split-complementary
#322E98 #98672E #5F982E
monochromatic
#13123A #232069 #322E98 #443EC5 #716DD3

Accessibility & contrast

On white

10.61
#322E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#322E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322E98
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322E98#FFFFFF#000000##FFFFFF
##322E981.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322e98;
/* rgb */ color: rgb(50, 46, 152);
/* oklch */ color: oklch(38.1% 0.167 276.7);
Tailwind
colors: {
  custom: {
    50: '#7867b7',
    500: '#322e98',
    950: '#000000',
  },
}
SCSS
$custom: #322e98;
$custom-light: #7867b7;
$custom-dark: #000000;
JSON
{
  "hex": "#322e98",
  "rgb": {
    "r": 50,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 242.264,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38095,
    "c": 0.1665,
    "h": 276.7
  },
  "luminance": 0.04899
}

Semantic roles & 50–950 ramp

primary
#322E98
secondary
#B7BA68
accent
#DD4BD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #322E98

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

Preview Lab → · Contrast checker → · Palette generator →

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