#3326A8#3326A8

#3326A8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.195 H 276.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#3326A8
RGBrgb(51, 38, 168)
HSLhsl(246, 63%, 40%)
HSVhsv(246, 77%, 66%)
CMYKcmyk(69.6%, 77.4%, 0%, 34.1%)
CIE-LABlab(26.50, 45.77, -66.93)
CIE-LCHlch(26.50, 81.08, 304.36°)
OKLaboklab(38.64% 0.0225 -0.1934)
OKLCHoklch(38.64% 0.195 276.6)
XYZxyz(9.1239, 4.9164, 37.5063)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3326A8 #9BA826
analogous
#265AA8 #3326A8 #7426A8
triadic
#3326A8 #A83326 #26A833
tetradic
#3326A8 #A8265A #9BA826 #26A874
square
#3326A8 #A8265A #9BA826 #26A874
split-complementary
#3326A8 #A87426 #5AA826
monochromatic
#150F44 #241B76 #3326A8 #4839D2 #766BDE

Accessibility & contrast

On white

10.59
#3326A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3326A8#FFFFFF#000000##FFFFFF
##3326A81.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3326a8;
/* rgb */ color: rgb(51, 38, 168);
/* oklch */ color: oklch(38.6% 0.195 276.6);
Tailwind
colors: {
  custom: {
    50: '#7c63c3',
    500: '#3326a8',
    950: '#000000',
  },
}
SCSS
$custom: #3326a8;
$custom-light: #7c63c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3326a8",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 246,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38637,
    "c": 0.19475,
    "h": 276.6
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#3326A8
secondary
#BAC466
accent
#E642D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3326A8

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

Preview Lab → · Contrast checker → · Palette generator →

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