#3328A4#3328A4

#3328A4 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.188 H 276.8°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#3328A4
RGBrgb(51, 40, 164)
HSLhsl(245, 61%, 40%)
HSVhsv(245, 76%, 64%)
CMYKcmyk(68.9%, 75.6%, 0%, 35.7%)
CIE-LABlab(26.45, 43.41, -64.59)
CIE-LCHlch(26.45, 77.82, 303.91°)
OKLaboklab(38.48% 0.0223 -0.1866)
OKLCHoklch(38.48% 0.188 276.8)
XYZxyz(8.8227, 4.9009, 35.5958)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3328A4 #99A428
analogous
#285BA4 #3328A4 #7128A4
triadic
#3328A4 #A43328 #28A433
tetradic
#3328A4 #A4285B #99A428 #28A471
square
#3328A4 #A4285B #99A428 #28A471
split-complementary
#3328A4 #A47128 #5BA428
monochromatic
#141042 #241C73 #3328A4 #473ACF #756BDB

Accessibility & contrast

On white

10.60
#3328A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3328A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3328A4
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3328A4#FFFFFF#000000##FFFFFF
##3328A41.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#0039A2
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3328a4;
/* rgb */ color: rgb(51, 40, 164);
/* oklch */ color: oklch(38.5% 0.188 276.8);
Tailwind
colors: {
  custom: {
    50: '#7b64c0',
    500: '#3328a4',
    950: '#000000',
  },
}
SCSS
$custom: #3328a4;
$custom-light: #7b64c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3328a4",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 245.323,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.3848,
    "c": 0.18796,
    "h": 276.8
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3328A4

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

Preview Lab → · Contrast checker → · Palette generator →

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