#3328AD#3328AD

#3328AD is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.4% C 0.199 H 275.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#3328AD
RGBrgb(51, 40, 173)
HSLhsl(245, 62%, 42%)
HSVhsv(245, 77%, 68%)
CMYKcmyk(70.5%, 76.9%, 0%, 32.2%)
CIE-LABlab(27.40, 46.30, -68.44)
CIE-LCHlch(27.40, 82.63, 304.08°)
OKLaboklab(39.43% 0.0203 -0.1979)
OKLCHoklch(39.43% 0.199 275.9)
XYZxyz(9.6644, 5.2376, 40.0287)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3328AD #A2AD28
analogous
#2860AD #3328AD #7528AD
triadic
#3328AD #AD3328 #28AD33
tetradic
#3328AD #AD2860 #A2AD28 #28AD75
square
#3328AD #AD2860 #A2AD28 #28AD75
split-complementary
#3328AD #AD7528 #60AD28
monochromatic
#16114A #241D7B #3328AD #4C3FD3 #7A71DE

Accessibility & contrast

On white

10.25
#3328AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3328AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3328AD
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3328AD#FFFFFF#000000##FFFFFF
##3328AD1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B1
Deuteranopia (green-blind)
#003BAB
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3328ad;
/* rgb */ color: rgb(51, 40, 173);
/* oklch */ color: oklch(39.4% 0.199 275.9);
Tailwind
colors: {
  custom: {
    50: '#7d65c7',
    500: '#3328ad',
    950: '#000000',
  },
}
SCSS
$custom: #3328ad;
$custom-light: #7d65c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3328ad",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 244.962,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39432,
    "c": 0.19891,
    "h": 275.9
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#3328AD
secondary
#BEC56C
accent
#E642D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3328AD

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

Preview Lab → · Contrast checker → · Palette generator →

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