#3327AA#3327AA

#3327AA is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.196 H 276.3°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#3327AA
RGBrgb(51, 39, 170)
HSLhsl(245, 63%, 41%)
HSVhsv(245, 77%, 67%)
CMYKcmyk(70%, 77.1%, 0%, 33.3%)
CIE-LABlab(26.89, 45.87, -67.48)
CIE-LCHlch(26.89, 81.59, 304.21°)
OKLaboklab(38.98% 0.0215 -0.195)
OKLCHoklch(38.98% 0.196 276.3)
XYZxyz(9.3441, 5.0563, 38.5059)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3327AA #9EAA27
analogous
#275CAA #3327AA #7427AA
triadic
#3327AA #AA3327 #27AA33
tetradic
#3327AA #AA275C #9EAA27 #27AA74
square
#3327AA #AA275C #9EAA27 #27AA74
split-complementary
#3327AA #AA7427 #5CAA27
monochromatic
#151046 #241C78 #3327AA #4A3CD2 #786EDE

Accessibility & contrast

On white

10.44
#3327AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3327AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3327AA
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3327AA#FFFFFF#000000##FFFFFF
##3327AA1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#003AA8
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3327aa;
/* rgb */ color: rgb(51, 39, 170);
/* oklch */ color: oklch(39.0% 0.196 276.3);
Tailwind
colors: {
  custom: {
    50: '#7d64c5',
    500: '#3327aa',
    950: '#000000',
  },
}
SCSS
$custom: #3327aa;
$custom-light: #7d64c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3327aa",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 245.496,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38981,
    "c": 0.19623,
    "h": 276.3
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#3327AA
secondary
#BCC469
accent
#E642D7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3327AA

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

Preview Lab → · Contrast checker → · Palette generator →

#3327AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva