#322894#322894

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

Color values

HEX#322894
RGBrgb(50, 40, 148)
HSLhsl(246, 57%, 37%)
HSVhsv(246, 73%, 58%)
CMYKcmyk(66.2%, 73%, 0%, 42%)
CIE-LABlab(24.74, 38.05, -57.62)
CIE-LCHlch(24.74, 69.05, 303.44°)
OKLaboklab(36.76% 0.0243 -0.1663)
OKLCHoklch(36.76% 0.168 278.3)
XYZxyz(7.4178, 4.3332, 28.4567)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322894 #8A9428
analogous
#285494 #322894 #682894
triadic
#322894 #943228 #289432
tetradic
#322894 #942854 #8A9428 #289468
square
#322894 #942854 #8A9428 #289468
split-complementary
#322894 #946828 #549428
monochromatic
#110E34 #221B64 #322894 #4235C4 #6C62D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##322894#FFFFFF#000000##FFFFFF
##3228941.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)
#003F97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #322894;
/* rgb */ color: rgb(50, 40, 148);
/* oklch */ color: oklch(36.8% 0.168 278.3);
Tailwind
colors: {
  custom: {
    50: '#7763b4',
    500: '#322894',
    950: '#000000',
  },
}
SCSS
$custom: #322894;
$custom-light: #7763b4;
$custom-dark: #000000;
JSON
{
  "hex": "#322894",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 245.556,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36759,
    "c": 0.16811,
    "h": 278.3
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

primary
#322894
secondary
#B2BA5E
accent
#E147D2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #322894

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

Preview Lab → · Contrast checker → · Palette generator →

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