#3326BD#3326BD

#3326BD is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.9% C 0.219 H 274.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#3326BD
RGBrgb(51, 38, 189)
HSLhsl(245, 67%, 45%)
HSVhsv(245, 80%, 74%)
CMYKcmyk(73%, 79.9%, 0%, 25.9%)
CIE-LABlab(28.81, 52.29, -75.65)
CIE-LCHlch(28.81, 91.97, 304.65°)
OKLaboklab(40.93% 0.0173 -0.2188)
OKLCHoklch(40.93% 0.219 274.5)
XYZxyz(11.2406, 5.7630, 48.6542)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3326BD #B0BD26
analogous
#2664BD #3326BD #7F26BD
triadic
#3326BD #BD3326 #26BD33
tetradic
#3326BD #BD2664 #B0BD26 #26BD7F
square
#3326BD #BD2664 #B0BD26 #26BD7F
split-complementary
#3326BD #BD7F26 #64BD26
monochromatic
#181257 #251C8A #3326BD #5346DA #8279E4

Accessibility & contrast

On white

9.75
#3326BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3326BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3326BD
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3326BD#FFFFFF#000000##FFFFFF
##3326BD1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#003DBA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3326bd;
/* rgb */ color: rgb(51, 38, 189);
/* oklch */ color: oklch(40.9% 0.219 274.5);
Tailwind
colors: {
  custom: {
    50: '#8165d2',
    500: '#3326bd',
    950: '#000000',
  },
}
SCSS
$custom: #3326bd;
$custom-light: #8165d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3326bd",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 245.166,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40931,
    "c": 0.21947,
    "h": 274.5
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#3326BD
secondary
#C4CC73
accent
#E93EDB
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3326BD

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

Preview Lab → · Contrast checker → · Palette generator →

#3326BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva