#322674#322674

#322674 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.128 H 284.1°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#322674
RGBrgb(50, 38, 116)
HSLhsl(249, 51%, 30%)
HSVhsv(249, 67%, 45%)
CMYKcmyk(56.9%, 67.2%, 0%, 54.5%)
CIE-LABlab(21.30, 28.54, -43.15)
CIE-LCHlch(21.30, 51.73, 303.48°)
OKLaboklab(33.36% 0.0311 -0.1239)
OKLCHoklch(33.36% 0.128 284.1)
XYZxyz(5.1599, 3.3250, 16.8895)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322674 #687426
analogous
#264174 #322674 #592674
triadic
#322674 #743226 #267432
tetradic
#322674 #742641 #687426 #267459
square
#322674 #742641 #687426 #267459
split-complementary
#322674 #745926 #417426
monochromatic
#0A0818 #1E1746 #322674 #4635A2 #614FC5

Accessibility & contrast

On white

12.61
#322674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#322674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322674
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322674#FFFFFF#000000##FFFFFF
##3226741.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#153949
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #322674;
/* rgb */ color: rgb(50, 38, 116);
/* oklch */ color: oklch(33.4% 0.128 284.1);
Tailwind
colors: {
  custom: {
    50: '#71619d',
    500: '#322674',
    950: '#000000',
  },
}
SCSS
$custom: #322674;
$custom-light: #71619d;
$custom-dark: #000000;
JSON
{
  "hex": "#322674",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 116
  },
  "hsl": {
    "h": 249.231,
    "s": 50.649,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33364,
    "c": 0.12776,
    "h": 284.1
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#322674
secondary
#99A64F
accent
#DA4EC5
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322674

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

Preview Lab → · Contrast checker → · Palette generator →

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