#3326B4#3326B4

#3326B4 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.9% C 0.209 H 275.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#3326B4
RGBrgb(51, 38, 180)
HSLhsl(245, 65%, 43%)
HSVhsv(245, 79%, 71%)
CMYKcmyk(71.7%, 78.9%, 0%, 29.4%)
CIE-LABlab(27.80, 49.53, -71.97)
CIE-LCHlch(27.80, 87.36, 304.54°)
OKLaboklab(39.94% 0.0195 -0.2081)
OKLCHoklch(39.94% 0.209 275.4)
XYZxyz(10.2939, 5.3843, 43.6680)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3326B4 #A7B426
analogous
#2660B4 #3326B4 #7A26B4
triadic
#3326B4 #B43326 #26B433
tetradic
#3326B4 #B42660 #A7B426 #26B47A
square
#3326B4 #B42660 #A7B426 #26B47A
split-complementary
#3326B4 #B47A26 #60B426
monochromatic
#16114F #251B81 #3326B4 #4E40D7 #7D73E1

Accessibility & contrast

On white

10.11
#3326B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3326B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3326B4
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3326B4#FFFFFF#000000##FFFFFF
##3326B41.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3326b4;
/* rgb */ color: rgb(51, 38, 180);
/* oklch */ color: oklch(39.9% 0.209 275.4);
Tailwind
colors: {
  custom: {
    50: '#7f64cc',
    500: '#3326b4',
    950: '#000000',
  },
}
SCSS
$custom: #3326b4;
$custom-light: #7f64cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3326b4",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 180
  },
  "hsl": {
    "h": 245.493,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39938,
    "c": 0.20901,
    "h": 275.4
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#3326B4
secondary
#C0C96D
accent
#E840D9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3326B4

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

Preview Lab → · Contrast checker → · Palette generator →

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