#322EAF#322EAF

#322EAF is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.196 H 274.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#322EAF
RGBrgb(50, 46, 175)
HSLhsl(242, 58%, 43%)
HSVhsv(242, 74%, 69%)
CMYKcmyk(71.4%, 73.7%, 0%, 31.4%)
CIE-LABlab(28.71, 43.54, -67.48)
CIE-LCHlch(28.71, 80.31, 302.83°)
OKLaboklab(40.4% 0.0155 -0.1951)
OKLCHoklch(40.4% 0.196 274.5)
XYZxyz(10.0277, 5.7263, 41.1259)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322EAF #ABAF2E
analogous
#2E6BAF #322EAF #722EAF
triadic
#322EAF #AF322E #2EAF32
tetradic
#322EAF #AF2E6B #ABAF2E #2EAF72
square
#322EAF #AF2E6B #ABAF2E #2EAF72
split-complementary
#322EAF #AF722E #6BAF2E
monochromatic
#16154E #24217F #322EAF #4F4BD0 #7E7BDC

Accessibility & contrast

On white

9.79
#322EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#322EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322EAF
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322EAF#FFFFFF#000000##FFFFFF
##322EAF1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#003EAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #322eaf;
/* rgb */ color: rgb(50, 46, 175);
/* oklch */ color: oklch(40.4% 0.196 274.5);
Tailwind
colors: {
  custom: {
    50: '#7d68c8',
    500: '#322eaf',
    950: '#000000',
  },
}
SCSS
$custom: #322eaf;
$custom-light: #7d68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#322eaf",
  "rgb": {
    "r": 50,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 241.86,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40402,
    "c": 0.19575,
    "h": 274.5
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#322EAF
secondary
#C2C574
accent
#E246DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #322EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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