#322970#322970

#322970 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.6% C 0.118 H 283.8°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#322970
RGBrgb(50, 41, 112)
HSLhsl(248, 46%, 30%)
HSVhsv(248, 63%, 44%)
CMYKcmyk(55.4%, 63.4%, 0%, 56.1%)
CIE-LABlab(21.70, 25.23, -39.92)
CIE-LCHlch(21.70, 47.23, 302.30°)
OKLaboklab(33.55% 0.0281 -0.1144)
OKLCHoklch(33.55% 0.118 283.8)
XYZxyz(5.0321, 3.4336, 15.7237)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322970 #677029
analogous
#294370 #322970 #562970
triadic
#322970 #703229 #297032
tetradic
#322970 #702943 #677029 #297056
square
#322970 #702943 #677029 #297056
split-complementary
#322970 #705629 #437029
monochromatic
#0A0816 #1E1943 #322970 #46399D #6153C0

Accessibility & contrast

On white

12.45
#322970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#322970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322970
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322970#FFFFFF#000000##FFFFFF
##3229701.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#183A48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #322970;
/* rgb */ color: rgb(50, 41, 112);
/* oklch */ color: oklch(33.6% 0.118 283.8);
Tailwind
colors: {
  custom: {
    50: '#70639a',
    500: '#322970',
    950: '#000000',
  },
}
SCSS
$custom: #322970;
$custom-light: #70639a;
$custom-dark: #000000;
JSON
{
  "hex": "#322970",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 112
  },
  "hsl": {
    "h": 247.606,
    "s": 46.405,
    "l": 30
  },
  "oklch": {
    "l": 0.33552,
    "c": 0.11783,
    "h": 283.8
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#322970
secondary
#98A253
accent
#D652C5
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322970

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

Preview Lab → · Contrast checker → · Palette generator →

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