#3328B2#3328B2

#3328B2 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.0% C 0.205 H 275.4°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#3328B2
RGBrgb(51, 40, 178)
HSLhsl(245, 63%, 43%)
HSVhsv(245, 78%, 70%)
CMYKcmyk(71.3%, 77.5%, 0%, 30.2%)
CIE-LABlab(27.94, 47.88, -70.55)
CIE-LCHlch(27.94, 85.26, 304.16°)
OKLaboklab(39.97% 0.0191 -0.204)
OKLCHoklch(39.97% 0.205 275.4)
XYZxyz(10.1573, 5.4348, 42.6246)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3328B2 #A7B228
analogous
#2862B2 #3328B2 #7828B2
triadic
#3328B2 #B23328 #28B233
tetradic
#3328B2 #B22862 #A7B228 #28B278
square
#3328B2 #B22862 #A7B228 #28B278
split-complementary
#3328B2 #B27828 #62B228
monochromatic
#16124E #251D80 #3328B2 #4E43D5 #7D75E0

Accessibility & contrast

On white

10.06
#3328B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3328B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3328B2
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3328B2#FFFFFF#000000##FFFFFF
##3328B21.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003CB0
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3328b2;
/* rgb */ color: rgb(51, 40, 178);
/* oklch */ color: oklch(40.0% 0.205 275.4);
Tailwind
colors: {
  custom: {
    50: '#7e65ca',
    500: '#3328b2',
    950: '#000000',
  },
}
SCSS
$custom: #3328b2;
$custom-light: #7e65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3328b2",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 244.783,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39969,
    "c": 0.20489,
    "h": 275.4
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#3328B2
secondary
#C0C76F
accent
#E641D9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3328B2

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

Preview Lab → · Contrast checker → · Palette generator →

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