#3326A2#3326A2

#3326A2 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.187 H 277.3°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#3326A2
RGBrgb(51, 38, 162)
HSLhsl(246, 62%, 39%)
HSVhsv(246, 77%, 64%)
CMYKcmyk(68.5%, 76.5%, 0%, 36.5%)
CIE-LABlab(25.86, 43.86, -64.35)
CIE-LCHlch(25.86, 77.88, 304.28°)
OKLaboklab(38% 0.0239 -0.1859)
OKLCHoklch(38% 0.187 277.3)
XYZxyz(8.5778, 4.6979, 34.6302)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3326A2 #95A226
analogous
#2657A2 #3326A2 #7126A2
triadic
#3326A2 #A23326 #26A233
tetradic
#3326A2 #A22657 #95A226 #26A271
square
#3326A2 #A22657 #95A226 #26A271
split-complementary
#3326A2 #A27126 #57A226
monochromatic
#140F3F #231A70 #3326A2 #4635D0 #7367DB

Accessibility & contrast

On white

10.83
#3326A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3326A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3326A2#FFFFFF#000000##FFFFFF
##3326A21.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A6
Deuteranopia (green-blind)
#0038A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3326a2;
/* rgb */ color: rgb(51, 38, 162);
/* oklch */ color: oklch(38.0% 0.187 277.3);
Tailwind
colors: {
  custom: {
    50: '#7b63bf',
    500: '#3326a2',
    950: '#000000',
  },
}
SCSS
$custom: #3326a2;
$custom-light: #7b63bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3326a2",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 246.29,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37998,
    "c": 0.18747,
    "h": 277.3
  },
  "luminance": 0.04699
}

Semantic roles & 50–950 ramp

primary
#3326A2
secondary
#B7C163
accent
#E543D4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3326A2

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

Preview Lab → · Contrast checker → · Palette generator →

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