#3328A5#3328A5

#3328A5 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.189 H 276.7°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#3328A5
RGBrgb(51, 40, 165)
HSLhsl(245, 61%, 40%)
HSVhsv(245, 76%, 65%)
CMYKcmyk(69.1%, 75.8%, 0%, 35.3%)
CIE-LABlab(26.56, 43.74, -65.02)
CIE-LCHlch(26.56, 78.36, 303.93°)
OKLaboklab(38.58% 0.0221 -0.1879)
OKLCHoklch(38.58% 0.189 276.7)
XYZxyz(8.9133, 4.9372, 36.0733)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3328A5 #9AA528
analogous
#285BA5 #3328A5 #7128A5
triadic
#3328A5 #A53328 #28A533
tetradic
#3328A5 #A5285B #9AA528 #28A571
square
#3328A5 #A5285B #9AA528 #28A571
split-complementary
#3328A5 #A57128 #5BA528
monochromatic
#151042 #241C74 #3328A5 #483BCF #766CDB

Accessibility & contrast

On white

10.57
#3328A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3328A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3328A5
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3328A5#FFFFFF#000000##FFFFFF
##3328A51.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3328a5;
/* rgb */ color: rgb(51, 40, 165);
/* oklch */ color: oklch(38.6% 0.189 276.7);
Tailwind
colors: {
  custom: {
    50: '#7b64c1',
    500: '#3328a5',
    950: '#000000',
  },
}
SCSS
$custom: #3328a5;
$custom-light: #7b64c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3328a5",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 245.28,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38584,
    "c": 0.1892,
    "h": 276.7
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#3328A5
secondary
#BAC267
accent
#E444D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3328A5

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

Preview Lab → · Contrast checker → · Palette generator →

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