#322A8E#322A8E

#322A8E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.158 H 278.7°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#322A8E
RGBrgb(50, 42, 142)
HSLhsl(245, 54%, 36%)
HSVhsv(245, 70%, 56%)
CMYKcmyk(64.8%, 70.4%, 0%, 44.3%)
CIE-LABlab(24.60, 34.84, -54.15)
CIE-LCHlch(24.60, 64.39, 302.75°)
OKLaboklab(36.48% 0.0239 -0.1562)
OKLCHoklch(36.48% 0.158 278.7)
XYZxyz(7.0243, 4.2865, 26.0432)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322A8E #868E2A
analogous
#2A548E #322A8E #642A8E
triadic
#322A8E #8E322A #2A8E32
tetradic
#322A8E #8E2A54 #868E2A #2A8E64
square
#322A8E #8E2A54 #868E2A #2A8E64
split-complementary
#322A8E #8E642A #548E2A
monochromatic
#110E30 #211C5F #322A8E #4338BD #6B62D1

Accessibility & contrast

On white

11.31
#322A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#322A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322A8E
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322A8E#FFFFFF#000000##FFFFFF
##322A8E1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #322a8e;
/* rgb */ color: rgb(50, 42, 142);
/* oklch */ color: oklch(36.5% 0.158 278.7);
Tailwind
colors: {
  custom: {
    50: '#7664b0',
    500: '#322a8e',
    950: '#000000',
  },
}
SCSS
$custom: #322a8e;
$custom-light: #7664b0;
$custom-dark: #000000;
JSON
{
  "hex": "#322a8e",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 244.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36476,
    "c": 0.15801,
    "h": 278.7
  },
  "luminance": 0.04287
}

Semantic roles & 50–950 ramp

primary
#322A8E
secondary
#AFB65D
accent
#DE4AD2
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090511
muted
#7B7A80

Preview Lab

Preview with #322A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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