#322295#322295

#322295 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.176 H 279.2°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#322295
RGBrgb(50, 34, 149)
HSLhsl(248, 63%, 36%)
HSVhsv(248, 77%, 58%)
CMYKcmyk(66.4%, 77.2%, 0%, 41.6%)
CIE-LABlab(23.64, 41.76, -60.05)
CIE-LCHlch(23.64, 73.15, 304.82°)
OKLaboklab(36.01% 0.028 -0.1734)
OKLCHoklch(36.01% 0.176 279.2)
XYZxyz(7.3105, 3.9915, 28.8131)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322295 #859522
analogous
#224B95 #322295 #6B2295
triadic
#322295 #953222 #229532
tetradic
#322295 #95224B #859522 #22956B
square
#322295 #95224B #859522 #22956B
split-complementary
#322295 #956B22 #4B9522
monochromatic
#110B31 #211763 #322295 #432DC7 #6A58D9

Accessibility & contrast

On white

11.68
#322295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#322295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322295
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322295#FFFFFF#000000##FFFFFF
##3222951.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #322295;
/* rgb */ color: rgb(50, 34, 149);
/* oklch */ color: oklch(36.0% 0.176 279.2);
Tailwind
colors: {
  custom: {
    50: '#7860b5',
    500: '#322295',
    950: '#000000',
  },
}
SCSS
$custom: #322295;
$custom-light: #7860b5;
$custom-dark: #000000;
JSON
{
  "hex": "#322295",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 248.348,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3601,
    "c": 0.17564,
    "h": 279.2
  },
  "luminance": 0.03992
}

Semantic roles & 50–950 ramp

primary
#322295
secondary
#AFBD56
accent
#E642CF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322295

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

Preview Lab → · Contrast checker → · Palette generator →

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