#3326AA#3326AA

#3326AA is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.9% C 0.197 H 276.4°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#3326AA
RGBrgb(51, 38, 170)
HSLhsl(246, 63%, 41%)
HSVhsv(246, 78%, 67%)
CMYKcmyk(70%, 77.6%, 0%, 33.3%)
CIE-LABlab(26.71, 46.40, -67.78)
CIE-LCHlch(26.71, 82.14, 304.39°)
OKLaboklab(38.85% 0.022 -0.1959)
OKLCHoklch(38.85% 0.197 276.4)
XYZxyz(9.3117, 4.9915, 38.4951)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3326AA #9DAA26
analogous
#265BAA #3326AA #7526AA
triadic
#3326AA #AA3326 #26AA33
tetradic
#3326AA #AA265B #9DAA26 #26AA75
square
#3326AA #AA265B #9DAA26 #26AA75
split-complementary
#3326AA #AA7526 #5BAA26
monochromatic
#151046 #241B78 #3326AA #493AD3 #776CDE

Accessibility & contrast

On white

10.51
#3326AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3326AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3326AA#FFFFFF#000000##FFFFFF
##3326AA1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#0039A8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3326aa;
/* rgb */ color: rgb(51, 38, 170);
/* oklch */ color: oklch(38.9% 0.197 276.4);
Tailwind
colors: {
  custom: {
    50: '#7d63c5',
    500: '#3326aa',
    950: '#000000',
  },
}
SCSS
$custom: #3326aa;
$custom-light: #7d63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3326aa",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 245.909,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38852,
    "c": 0.19715,
    "h": 276.4
  },
  "luminance": 0.04992
}

Semantic roles & 50–950 ramp

primary
#3326AA
secondary
#BBC567
accent
#E641D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3326AA

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

Preview Lab → · Contrast checker → · Palette generator →

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