#3328B1#3328B1

#3328B1 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.9% C 0.204 H 275.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#3328B1
RGBrgb(51, 40, 177)
HSLhsl(245, 63%, 43%)
HSVhsv(245, 77%, 69%)
CMYKcmyk(71.2%, 77.4%, 0%, 30.6%)
CIE-LABlab(27.83, 47.56, -70.13)
CIE-LCHlch(27.83, 84.74, 304.15°)
OKLaboklab(39.86% 0.0194 -0.2028)
OKLCHoklch(39.86% 0.204 275.5)
XYZxyz(10.0572, 5.3948, 42.0977)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3328B1 #A6B128
analogous
#2861B1 #3328B1 #7828B1
triadic
#3328B1 #B13328 #28B133
tetradic
#3328B1 #B12861 #A6B128 #28B178
square
#3328B1 #B12861 #A6B128 #28B178
split-complementary
#3328B1 #B17828 #61B128
monochromatic
#16114D #251D7F #3328B1 #4E42D4 #7C74E0

Accessibility & contrast

On white

10.10
#3328B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3328B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3328B1
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3328B1#FFFFFF#000000##FFFFFF
##3328B11.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3328b1;
/* rgb */ color: rgb(51, 40, 177);
/* oklch */ color: oklch(39.9% 0.204 275.5);
Tailwind
colors: {
  custom: {
    50: '#7e65ca',
    500: '#3328b1',
    950: '#000000',
  },
}
SCSS
$custom: #3328b1;
$custom-light: #7e65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3328b1",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 244.818,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39861,
    "c": 0.20369,
    "h": 275.5
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#3328B1
secondary
#C0C76E
accent
#E642D9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3328B1

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

Preview Lab → · Contrast checker → · Palette generator →

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