#3326A7#3326A7

#3326A7 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.194 H 276.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#3326A7
RGBrgb(51, 38, 167)
HSLhsl(246, 63%, 40%)
HSVhsv(246, 77%, 65%)
CMYKcmyk(69.5%, 77.2%, 0%, 34.5%)
CIE-LABlab(26.39, 45.45, -66.50)
CIE-LCHlch(26.39, 80.55, 304.35°)
OKLaboklab(38.53% 0.0227 -0.1922)
OKLCHoklch(38.53% 0.194 276.7)
XYZxyz(9.0311, 4.8792, 37.0176)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3326A7 #9AA726
analogous
#2659A7 #3326A7 #7426A7
triadic
#3326A7 #A73326 #26A733
tetradic
#3326A7 #A72659 #9AA726 #26A774
square
#3326A7 #A72659 #9AA726 #26A774
split-complementary
#3326A7 #A77426 #59A726
monochromatic
#150F43 #241B75 #3326A7 #4838D2 #766ADD

Accessibility & contrast

On white

10.63
#3326A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3326A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3326A7#FFFFFF#000000##FFFFFF
##3326A71.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#0039A5
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3326a7;
/* rgb */ color: rgb(51, 38, 167);
/* oklch */ color: oklch(38.5% 0.194 276.7);
Tailwind
colors: {
  custom: {
    50: '#7c63c2',
    500: '#3326a7',
    950: '#000000',
  },
}
SCSS
$custom: #3326a7;
$custom-light: #7c63c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3326a7",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 246.047,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3853,
    "c": 0.19354,
    "h": 276.7
  },
  "luminance": 0.0488
}

Semantic roles & 50–950 ramp

primary
#3326A7
secondary
#BAC365
accent
#E642D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3326A7

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

Preview Lab → · Contrast checker → · Palette generator →

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