#3326A5#3326A5

#3326A5 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.191 H 277.0°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#3326A5
RGBrgb(51, 38, 165)
HSLhsl(246, 63%, 40%)
HSVhsv(246, 77%, 65%)
CMYKcmyk(69.1%, 77%, 0%, 35.3%)
CIE-LABlab(26.17, 44.82, -65.65)
CIE-LCHlch(26.17, 79.49, 304.32°)
OKLaboklab(38.32% 0.0232 -0.1897)
OKLCHoklch(38.32% 0.191 277)
XYZxyz(8.8477, 4.8059, 36.0514)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3326A5 #98A526
analogous
#2658A5 #3326A5 #7326A5
triadic
#3326A5 #A53326 #26A533
tetradic
#3326A5 #A52658 #98A526 #26A573
square
#3326A5 #A52658 #98A526 #26A573
split-complementary
#3326A5 #A57326 #58A526
monochromatic
#140F42 #241B73 #3326A5 #4737D1 #7569DC

Accessibility & contrast

On white

10.71
#3326A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3326A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3326A5#FFFFFF#000000##FFFFFF
##3326A51.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3326a5;
/* rgb */ color: rgb(51, 38, 165);
/* oklch */ color: oklch(38.3% 0.191 277.0);
Tailwind
colors: {
  custom: {
    50: '#7c63c1',
    500: '#3326a5',
    950: '#000000',
  },
}
SCSS
$custom: #3326a5;
$custom-light: #7c63c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3326a5",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 246.142,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38316,
    "c": 0.19112,
    "h": 277
  },
  "luminance": 0.04807
}

Semantic roles & 50–950 ramp

primary
#3326A5
secondary
#B9C364
accent
#E642D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3326A5

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

Preview Lab → · Contrast checker → · Palette generator →

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