#322678#322678

#322678 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.133 H 283.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#322678
RGBrgb(50, 38, 120)
HSLhsl(249, 52%, 31%)
HSVhsv(249, 68%, 47%)
CMYKcmyk(58.3%, 68.3%, 0%, 52.9%)
CIE-LABlab(21.65, 29.89, -45.13)
CIE-LCHlch(21.65, 54.13, 303.51°)
OKLaboklab(33.73% 0.0306 -0.1297)
OKLCHoklch(33.73% 0.133 283.3)
XYZxyz(5.3976, 3.4201, 18.1414)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322678 #6C7826
analogous
#264378 #322678 #5B2678
triadic
#322678 #783226 #267832
tetradic
#322678 #782643 #6C7826 #26785B
square
#322678 #782643 #6C7826 #26785B
split-complementary
#322678 #785B26 #437826
monochromatic
#0B091B #1F174A #322678 #4535A6 #6251C8

Accessibility & contrast

On white

12.47
#322678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#322678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322678
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322678#FFFFFF#000000##FFFFFF
##3226781.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#103B4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #322678;
/* rgb */ color: rgb(50, 38, 120);
/* oklch */ color: oklch(33.7% 0.133 283.3);
Tailwind
colors: {
  custom: {
    50: '#7261a0',
    500: '#322678',
    950: '#000000',
  },
}
SCSS
$custom: #322678;
$custom-light: #7261a0;
$custom-dark: #000000;
JSON
{
  "hex": "#322678",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 120
  },
  "hsl": {
    "h": 248.78,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33729,
    "c": 0.13331,
    "h": 283.3
  },
  "luminance": 0.0342
}

Semantic roles & 50–950 ramp

primary
#322678
secondary
#9DAA50
accent
#DB4CC6
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050F
muted
#7B797E

Preview Lab

Preview with #322678

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

Preview Lab → · Contrast checker → · Palette generator →

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