#322790#322790

#322790 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.164 H 279.0°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#322790
RGBrgb(50, 39, 144)
HSLhsl(246, 57%, 36%)
HSVhsv(246, 73%, 56%)
CMYKcmyk(65.3%, 72.9%, 0%, 43.5%)
CIE-LABlab(24.14, 37.31, -56.15)
CIE-LCHlch(24.14, 67.42, 303.60°)
OKLaboklab(36.21% 0.0258 -0.162)
OKLCHoklch(36.21% 0.164 279)
XYZxyz(7.0733, 4.1422, 26.8069)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322790 #859027
analogous
#275090 #322790 #662790
triadic
#322790 #903227 #279032
tetradic
#322790 #902750 #859027 #279066
square
#322790 #902750 #859027 #279066
split-complementary
#322790 #906627 #509027
monochromatic
#110D30 #211A60 #322790 #4334C0 #6A5ED3

Accessibility & contrast

On white

11.48
#322790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#322790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322790
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322790#FFFFFF#000000##FFFFFF
##3227901.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #322790;
/* rgb */ color: rgb(50, 39, 144);
/* oklch */ color: oklch(36.2% 0.164 279.0);
Tailwind
colors: {
  custom: {
    50: '#7763b2',
    500: '#322790',
    950: '#000000',
  },
}
SCSS
$custom: #322790;
$custom-light: #7763b2;
$custom-dark: #000000;
JSON
{
  "hex": "#322790",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 246.286,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36206,
    "c": 0.16407,
    "h": 279
  },
  "luminance": 0.04143
}

Semantic roles & 50–950 ramp

primary
#322790
secondary
#AFB95A
accent
#E147D1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322790

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

Preview Lab → · Contrast checker → · Palette generator →

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