#3327A8#3327A8

#3327A8 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.194 H 276.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#3327A8
RGBrgb(51, 39, 168)
HSLhsl(246, 62%, 41%)
HSVhsv(246, 77%, 66%)
CMYKcmyk(69.6%, 76.8%, 0%, 34.1%)
CIE-LABlab(26.68, 45.24, -66.62)
CIE-LCHlch(26.68, 80.53, 304.18°)
OKLaboklab(38.77% 0.022 -0.1926)
OKLCHoklch(38.77% 0.194 276.5)
XYZxyz(9.1563, 4.9812, 37.5171)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3327A8 #9CA827
analogous
#275CA8 #3327A8 #7327A8
triadic
#3327A8 #A83327 #27A833
tetradic
#3327A8 #A8275C #9CA827 #27A873
square
#3327A8 #A8275C #9CA827 #27A873
split-complementary
#3327A8 #A87327 #5CA827
monochromatic
#151045 #241B76 #3327A8 #493BD1 #776CDD

Accessibility & contrast

On white

10.52
#3327A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3327A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3327A8
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3327A8#FFFFFF#000000##FFFFFF
##3327A81.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.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: #3327a8;
/* rgb */ color: rgb(51, 39, 168);
/* oklch */ color: oklch(38.8% 0.194 276.5);
Tailwind
colors: {
  custom: {
    50: '#7c64c3',
    500: '#3327a8',
    950: '#000000',
  },
}
SCSS
$custom: #3327a8;
$custom-light: #7c64c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3327a8",
  "rgb": {
    "r": 51,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 245.581,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38767,
    "c": 0.19381,
    "h": 276.5
  },
  "luminance": 0.04982
}

Semantic roles & 50–950 ramp

primary
#3327A8
secondary
#BBC367
accent
#E542D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3327A8

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

Preview Lab → · Contrast checker → · Palette generator →

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