#322795#322795

#322795 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.170 H 278.4°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#322795
RGBrgb(50, 39, 149)
HSLhsl(246, 59%, 37%)
HSVhsv(246, 74%, 58%)
CMYKcmyk(66.4%, 73.8%, 0%, 41.6%)
CIE-LABlab(24.63, 38.97, -58.42)
CIE-LCHlch(24.63, 70.22, 303.70°)
OKLaboklab(36.71% 0.0248 -0.1687)
OKLCHoklch(36.71% 0.17 278.4)
XYZxyz(7.4640, 4.2985, 28.8643)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322795 #8A9527
analogous
#275395 #322795 #692795
triadic
#322795 #953227 #279532
tetradic
#322795 #952753 #8A9527 #279569
square
#322795 #952753 #8A9527 #279569
split-complementary
#322795 #956927 #539527
monochromatic
#110E34 #221A64 #322795 #4234C6 #6C61D6

Accessibility & contrast

On white

11.29
#322795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#322795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322795
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322795#FFFFFF#000000##FFFFFF
##3227951.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #322795;
/* rgb */ color: rgb(50, 39, 149);
/* oklch */ color: oklch(36.7% 0.170 278.4);
Tailwind
colors: {
  custom: {
    50: '#7863b5',
    500: '#322795',
    950: '#000000',
  },
}
SCSS
$custom: #322795;
$custom-light: #7863b5;
$custom-dark: #000000;
JSON
{
  "hex": "#322795",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 246,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36711,
    "c": 0.17047,
    "h": 278.4
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#322795
secondary
#B2BB5D
accent
#E246D2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #322795

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

Preview Lab → · Contrast checker → · Palette generator →

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