#3328A8#3328A8

#3328A8 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.9% C 0.193 H 276.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#3328A8
RGBrgb(51, 40, 168)
HSLhsl(245, 62%, 41%)
HSVhsv(245, 76%, 66%)
CMYKcmyk(69.6%, 76.2%, 0%, 34.1%)
CIE-LABlab(26.87, 44.70, -66.31)
CIE-LCHlch(26.87, 79.97, 303.98°)
OKLaboklab(38.9% 0.0214 -0.1917)
OKLCHoklch(38.9% 0.193 276.4)
XYZxyz(9.1896, 5.0477, 37.5282)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3328A8 #9DA828
analogous
#285DA8 #3328A8 #7328A8
triadic
#3328A8 #A83328 #28A833
tetradic
#3328A8 #A8285D #9DA828 #28A873
square
#3328A8 #A8285D #9DA828 #28A873
split-complementary
#3328A8 #A87328 #5DA828
monochromatic
#151045 #241C77 #3328A8 #493DD1 #776EDC

Accessibility & contrast

On white

10.45
#3328A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3328A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3328A8
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3328A8#FFFFFF#000000##FFFFFF
##3328A81.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3328a8;
/* rgb */ color: rgb(51, 40, 168);
/* oklch */ color: oklch(38.9% 0.193 276.4);
Tailwind
colors: {
  custom: {
    50: '#7c64c3',
    500: '#3328a8',
    950: '#000000',
  },
}
SCSS
$custom: #3328a8;
$custom-light: #7c64c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3328a8",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 245.156,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38901,
    "c": 0.19286,
    "h": 276.4
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#3328A8
secondary
#BBC369
accent
#E543D7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3328A8

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

Preview Lab → · Contrast checker → · Palette generator →

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