#3326A4#3326A4

#3326A4 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.190 H 277.1°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#3326A4
RGBrgb(51, 38, 164)
HSLhsl(246, 62%, 40%)
HSVhsv(246, 77%, 64%)
CMYKcmyk(68.9%, 76.8%, 0%, 35.7%)
CIE-LABlab(26.07, 44.50, -65.22)
CIE-LCHlch(26.07, 78.95, 304.31°)
OKLaboklab(38.21% 0.0234 -0.1884)
OKLCHoklch(38.21% 0.19 277.1)
XYZxyz(8.7570, 4.7696, 35.5739)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3326A4 #97A426
analogous
#2658A4 #3326A4 #7226A4
triadic
#3326A4 #A43326 #26A433
tetradic
#3326A4 #A42658 #97A426 #26A472
square
#3326A4 #A42658 #97A426 #26A472
split-complementary
#3326A4 #A47226 #58A426
monochromatic
#140F41 #241A72 #3326A4 #4737D1 #7468DC

Accessibility & contrast

On white

10.75
#3326A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3326A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3326A4#FFFFFF#000000##FFFFFF
##3326A41.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#0038A2
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3326a4;
/* rgb */ color: rgb(51, 38, 164);
/* oklch */ color: oklch(38.2% 0.190 277.1);
Tailwind
colors: {
  custom: {
    50: '#7b63c0',
    500: '#3326a4',
    950: '#000000',
  },
}
SCSS
$custom: #3326a4;
$custom-light: #7b63c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3326a4",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 246.19,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3821,
    "c": 0.1899,
    "h": 277.1
  },
  "luminance": 0.0477
}

Semantic roles & 50–950 ramp

primary
#3326A4
secondary
#B8C264
accent
#E542D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3326A4

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

Preview Lab → · Contrast checker → · Palette generator →

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