#3326AB#3326AB

#3326AB is a dark, vivid blue. Relative luminance 0.050; OKLCH L 39.0% C 0.198 H 276.3°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#3326AB
RGBrgb(51, 38, 171)
HSLhsl(246, 64%, 41%)
HSVhsv(246, 78%, 67%)
CMYKcmyk(70.2%, 77.8%, 0%, 32.9%)
CIE-LABlab(26.82, 46.72, -68.21)
CIE-LCHlch(26.82, 82.67, 304.41°)
OKLaboklab(38.96% 0.0218 -0.1971)
OKLCHoklch(38.96% 0.198 276.3)
XYZxyz(9.4066, 5.0294, 38.9952)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3326AB #9EAB26
analogous
#265BAB #3326AB #7526AB
triadic
#3326AB #AB3326 #26AB33
tetradic
#3326AB #AB265B #9EAB26 #26AB75
square
#3326AB #AB265B #9EAB26 #26AB75
split-complementary
#3326AB #AB7526 #5BAB26
monochromatic
#151047 #241B79 #3326AB #4A3BD3 #786DDF

Accessibility & contrast

On white

10.47
#3326AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3326AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3326AB
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3326AB#FFFFFF#000000##FFFFFF
##3326AB1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3326ab;
/* rgb */ color: rgb(51, 38, 171);
/* oklch */ color: oklch(39.0% 0.198 276.3);
Tailwind
colors: {
  custom: {
    50: '#7d63c5',
    500: '#3326ab',
    950: '#000000',
  },
}
SCSS
$custom: #3326ab;
$custom-light: #7d63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3326ab",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 245.865,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38959,
    "c": 0.19835,
    "h": 276.3
  },
  "luminance": 0.0503
}

Semantic roles & 50–950 ramp

primary
#3326AB
secondary
#BCC568
accent
#E741D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3326AB

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

Preview Lab → · Contrast checker → · Palette generator →

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