#3328BA#3328BA

#3328BA is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.214 H 274.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#3328BA
RGBrgb(51, 40, 186)
HSLhsl(245, 65%, 44%)
HSVhsv(245, 78%, 73%)
CMYKcmyk(72.6%, 78.5%, 0%, 27.1%)
CIE-LABlab(28.81, 50.38, -73.86)
CIE-LCHlch(28.81, 89.41, 304.30°)
OKLaboklab(40.84% 0.0172 -0.2136)
OKLCHoklch(40.84% 0.214 274.6)
XYZxyz(10.9840, 5.7655, 46.9788)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3328BA #AFBA28
analogous
#2866BA #3328BA #7C28BA
triadic
#3328BA #BA3328 #28BA33
tetradic
#3328BA #BA2866 #AFBA28 #28BA7C
square
#3328BA #BA2866 #AFBA28 #28BA7C
split-complementary
#3328BA #BA7C28 #66BA28
monochromatic
#171255 #251D88 #3328BA #5248D8 #827AE2

Accessibility & contrast

On white

9.75
#3328BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3328BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3328BA
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3328BA#FFFFFF#000000##FFFFFF
##3328BA1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABE
Deuteranopia (green-blind)
#003DB7
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3328ba;
/* rgb */ color: rgb(51, 40, 186);
/* oklch */ color: oklch(40.8% 0.214 274.6);
Tailwind
colors: {
  custom: {
    50: '#8065d0',
    500: '#3328ba',
    950: '#000000',
  },
}
SCSS
$custom: #3328ba;
$custom-light: #8065d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3328ba",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 244.521,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40838,
    "c": 0.21432,
    "h": 274.6
  },
  "luminance": 0.05767
}

Semantic roles & 50–950 ramp

primary
#3328BA
secondary
#C4CA73
accent
#E840DB
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3328BA

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

Preview Lab → · Contrast checker → · Palette generator →

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