#3328A2#3328A2

#3328A2 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.185 H 277.1°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#3328A2
RGBrgb(51, 40, 162)
HSLhsl(245, 60%, 40%)
HSVhsv(245, 75%, 64%)
CMYKcmyk(68.5%, 75.3%, 0%, 36.5%)
CIE-LABlab(26.24, 42.77, -63.72)
CIE-LCHlch(26.24, 76.74, 303.87°)
OKLaboklab(38.27% 0.0228 -0.1841)
OKLCHoklch(38.27% 0.186 277.1)
XYZxyz(8.6435, 4.8293, 34.6520)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3328A2 #97A228
analogous
#285AA2 #3328A2 #7028A2
triadic
#3328A2 #A23328 #28A233
tetradic
#3328A2 #A2285A #97A228 #28A270
square
#3328A2 #A2285A #97A228 #28A270
split-complementary
#3328A2 #A27028 #5AA228
monochromatic
#141040 #241C71 #3328A2 #4739CE #746ADA

Accessibility & contrast

On white

10.68
#3328A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3328A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3328A2
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3328A2#FFFFFF#000000##FFFFFF
##3328A21.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3328a2;
/* rgb */ color: rgb(51, 40, 162);
/* oklch */ color: oklch(38.3% 0.185 277.1);
Tailwind
colors: {
  custom: {
    50: '#7b64bf',
    500: '#3328a2',
    950: '#000000',
  },
}
SCSS
$custom: #3328a2;
$custom-light: #7b64bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3328a2",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 245.41,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3827,
    "c": 0.1855,
    "h": 277.1
  },
  "luminance": 0.0483
}

Semantic roles & 50–950 ramp

primary
#3328A2
secondary
#B8C165
accent
#E444D5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3328A2

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

Preview Lab → · Contrast checker → · Palette generator →

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