#3328BB#3328BB

#3328BB is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.9% C 0.215 H 274.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#3328BB
RGBrgb(51, 40, 187)
HSLhsl(244, 65%, 45%)
HSVhsv(244, 79%, 73%)
CMYKcmyk(72.7%, 78.6%, 0%, 26.7%)
CIE-LABlab(28.92, 50.70, -74.27)
CIE-LCHlch(28.92, 89.93, 304.32°)
OKLaboklab(40.95% 0.017 -0.2148)
OKLCHoklch(40.95% 0.215 274.5)
XYZxyz(11.0907, 5.8081, 47.5407)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3328BB #B0BB28
analogous
#2866BB #3328BB #7D28BB
triadic
#3328BB #BB3328 #28BB33
tetradic
#3328BB #BB2866 #B0BB28 #28BB7D
square
#3328BB #BB2866 #B0BB28 #28BB7D
split-complementary
#3328BB #BB7D28 #66BB28
monochromatic
#181256 #251D89 #3328BB #5348D8 #827BE3

Accessibility & contrast

On white

9.71
#3328BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3328BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3328BB
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3328BB#FFFFFF#000000##FFFFFF
##3328BB1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBF
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3328bb;
/* rgb */ color: rgb(51, 40, 187);
/* oklch */ color: oklch(40.9% 0.215 274.5);
Tailwind
colors: {
  custom: {
    50: '#8066d1',
    500: '#3328bb',
    950: '#000000',
  },
}
SCSS
$custom: #3328bb;
$custom-light: #8066d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3328bb",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 187
  },
  "hsl": {
    "h": 244.49,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40947,
    "c": 0.21549,
    "h": 274.5
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3328BB

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

Preview Lab → · Contrast checker → · Palette generator →

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