#3326B1#3326B1

#3326B1 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.6% C 0.205 H 275.7°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#3326B1
RGBrgb(51, 38, 177)
HSLhsl(246, 65%, 42%)
HSVhsv(246, 79%, 69%)
CMYKcmyk(71.2%, 78.5%, 0%, 30.6%)
CIE-LABlab(27.47, 48.60, -70.72)
CIE-LCHlch(27.47, 85.81, 304.49°)
OKLaboklab(39.61% 0.0203 -0.2045)
OKLCHoklch(39.61% 0.205 275.7)
XYZxyz(9.9916, 5.2634, 42.0758)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3326B1 #A4B126
analogous
#265EB1 #3326B1 #7926B1
triadic
#3326B1 #B13326 #26B133
tetradic
#3326B1 #B1265E #A4B126 #26B179
square
#3326B1 #B1265E #A4B126 #26B179
split-complementary
#3326B1 #B17926 #5EB126
monochromatic
#16104C #241B7F #3326B1 #4D3FD6 #7B71E0

Accessibility & contrast

On white

10.23
#3326B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3326B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3326B1
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3326B1#FFFFFF#000000##FFFFFF
##3326B11.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3326b1;
/* rgb */ color: rgb(51, 38, 177);
/* oklch */ color: oklch(39.6% 0.205 275.7);
Tailwind
colors: {
  custom: {
    50: '#7e64ca',
    500: '#3326b1',
    950: '#000000',
  },
}
SCSS
$custom: #3326b1;
$custom-light: #7e64ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3326b1",
  "rgb": {
    "r": 51,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 245.612,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.3961,
    "c": 0.20547,
    "h": 275.7
  },
  "luminance": 0.05264
}

Semantic roles & 50–950 ramp

primary
#3326B1
secondary
#BFC76B
accent
#E840D8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3326B1

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

Preview Lab → · Contrast checker → · Palette generator →

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