#3328B3#3328B3

#3328B3 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.1% C 0.206 H 275.3°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#3328B3
RGBrgb(51, 40, 179)
HSLhsl(245, 63%, 43%)
HSVhsv(245, 78%, 70%)
CMYKcmyk(71.5%, 77.7%, 0%, 29.8%)
CIE-LABlab(28.05, 48.20, -70.97)
CIE-LCHlch(28.05, 85.79, 304.18°)
OKLaboklab(40.08% 0.0189 -0.2052)
OKLCHoklch(40.08% 0.206 275.3)
XYZxyz(10.2580, 5.4751, 43.1553)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3328B3 #A8B328
analogous
#2863B3 #3328B3 #7828B3
triadic
#3328B3 #B33328 #28B333
tetradic
#3328B3 #B32863 #A8B328 #28B378
square
#3328B3 #B32863 #A8B328 #28B378
split-complementary
#3328B3 #B37828 #63B328
monochromatic
#16124F #251D81 #3328B3 #4F43D5 #7E75E0

Accessibility & contrast

On white

10.02
#3328B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3328B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3328B3
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3328B3#FFFFFF#000000##FFFFFF
##3328B31.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3328b3;
/* rgb */ color: rgb(51, 40, 179);
/* oklch */ color: oklch(40.1% 0.206 275.3);
Tailwind
colors: {
  custom: {
    50: '#7f65cb',
    500: '#3328b3',
    950: '#000000',
  },
}
SCSS
$custom: #3328b3;
$custom-light: #7f65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3328b3",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 244.748,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40077,
    "c": 0.20608,
    "h": 275.3
  },
  "luminance": 0.05476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3328B3

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

Preview Lab → · Contrast checker → · Palette generator →

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