#3320A4#3320A4

#3320A4 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.5% C 0.195 H 277.8°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#3320A4
RGBrgb(51, 32, 164)
HSLhsl(249, 67%, 38%)
HSVhsv(249, 80%, 64%)
CMYKcmyk(68.9%, 80.5%, 0%, 35.7%)
CIE-LABlab(25.00, 47.56, -66.98)
CIE-LCHlch(25.00, 82.15, 305.38°)
OKLaboklab(37.46% 0.0265 -0.1935)
OKLCHoklch(37.46% 0.195 277.8)
XYZxyz(8.5804, 4.4164, 35.5150)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3320A4 #91A420
analogous
#204FA4 #3320A4 #7520A4
triadic
#3320A4 #A43320 #20A433
tetradic
#3320A4 #A4204F #91A420 #20A475
square
#3320A4 #A4204F #91A420 #20A475
split-complementary
#3320A4 #A47520 #4FA420
monochromatic
#130C3E #231671 #3320A4 #442BD6 #715FE0

Accessibility & contrast

On white

11.15
#3320A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3320A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3320A4
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3320A4#FFFFFF#000000##FFFFFF
##3320A41.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A8
Deuteranopia (green-blind)
#0036A2
Tritanopia (blue-blind)
#004862
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3320a4;
/* rgb */ color: rgb(51, 32, 164);
/* oklch */ color: oklch(37.5% 0.195 277.8);
Tailwind
colors: {
  custom: {
    50: '#7c60c0',
    500: '#3320a4',
    950: '#000000',
  },
}
SCSS
$custom: #3320a4;
$custom-light: #7c60c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3320a4",
  "rgb": {
    "r": 51,
    "g": 32,
    "b": 164
  },
  "hsl": {
    "h": 248.636,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37465,
    "c": 0.19531,
    "h": 277.8
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#3320A4
secondary
#B5C45C
accent
#EA3ED1
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3320A4

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

Preview Lab → · Contrast checker → · Palette generator →

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