#3320A1#3320A1

#3320A1 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.192 H 278.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#3320A1
RGBrgb(51, 32, 161)
HSLhsl(249, 67%, 38%)
HSVhsv(249, 80%, 63%)
CMYKcmyk(68.3%, 80.1%, 0%, 36.9%)
CIE-LABlab(24.67, 46.65, -65.71)
CIE-LCHlch(24.67, 80.58, 305.37°)
OKLaboklab(37.14% 0.0273 -0.1898)
OKLCHoklch(37.14% 0.192 278.2)
XYZxyz(8.3127, 4.3093, 34.1050)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3320A1 #8EA120
analogous
#204EA1 #3320A1 #7320A1
triadic
#3320A1 #A13320 #20A133
tetradic
#3320A1 #A1204E #8EA120 #20A173
square
#3320A1 #A1204E #8EA120 #20A173
split-complementary
#3320A1 #A17320 #4EA120
monochromatic
#130C3B #23166E #3320A1 #432AD4 #705DDF

Accessibility & contrast

On white

11.28
#3320A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3320A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3320A1
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3320A1#FFFFFF#000000##FFFFFF
##3320A11.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#004761
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3320a1;
/* rgb */ color: rgb(51, 32, 161);
/* oklch */ color: oklch(37.1% 0.192 278.2);
Tailwind
colors: {
  custom: {
    50: '#7b5fbe',
    500: '#3320a1',
    950: '#000000',
  },
}
SCSS
$custom: #3320a1;
$custom-light: #7b5fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3320a1",
  "rgb": {
    "r": 51,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 248.837,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37135,
    "c": 0.19177,
    "h": 278.2
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#3320A1
secondary
#B4C35A
accent
#EA3ED0
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3320A1

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

Preview Lab → · Contrast checker → · Palette generator →

#3320A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva