#3328AC#3328AC

#3328AC is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.198 H 276.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#3328AC
RGBrgb(51, 40, 172)
HSLhsl(245, 62%, 42%)
HSVhsv(245, 77%, 67%)
CMYKcmyk(70.3%, 76.7%, 0%, 32.5%)
CIE-LABlab(27.29, 45.98, -68.02)
CIE-LCHlch(27.29, 82.10, 304.06°)
OKLaboklab(39.32% 0.0205 -0.1966)
OKLCHoklch(39.32% 0.198 276)
XYZxyz(9.5680, 5.1991, 39.5210)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3328AC #A1AC28
analogous
#285FAC #3328AC #7528AC
triadic
#3328AC #AC3328 #28AC33
tetradic
#3328AC #AC285F #A1AC28 #28AC75
square
#3328AC #AC285F #A1AC28 #28AC75
split-complementary
#3328AC #AC7528 #5FAC28
monochromatic
#161149 #241C7A #3328AC #4B3FD2 #7A71DE

Accessibility & contrast

On white

10.29
#3328AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3328AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3328AC
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3328AC#FFFFFF#000000##FFFFFF
##3328AC1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3328ac;
/* rgb */ color: rgb(51, 40, 172);
/* oklch */ color: oklch(39.3% 0.198 276.0);
Tailwind
colors: {
  custom: {
    50: '#7d65c6',
    500: '#3328ac',
    950: '#000000',
  },
}
SCSS
$custom: #3328ac;
$custom-light: #7d65c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3328ac",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 245,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39325,
    "c": 0.1977,
    "h": 276
  },
  "luminance": 0.052
}

Semantic roles & 50–950 ramp

primary
#3328AC
secondary
#BDC56B
accent
#E542D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3328AC

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

Preview Lab → · Contrast checker → · Palette generator →

#3328AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva