#3322A7#3322A7

#3322A7 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 38.0% C 0.197 H 277.2°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#3322A7
RGBrgb(51, 34, 167)
HSLhsl(248, 66%, 39%)
HSVhsv(248, 80%, 65%)
CMYKcmyk(69.5%, 79.6%, 0%, 34.5%)
CIE-LABlab(25.67, 47.50, -67.68)
CIE-LCHlch(25.67, 82.69, 305.06°)
OKLaboklab(38.03% 0.0247 -0.1956)
OKLCHoklch(38.03% 0.197 277.2)
XYZxyz(8.9101, 4.6371, 36.9772)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3322A7 #96A722
analogous
#2254A7 #3322A7 #7622A7
triadic
#3322A7 #A73322 #22A733
tetradic
#3322A7 #A72254 #96A722 #22A776
square
#3322A7 #A72254 #96A722 #22A776
split-complementary
#3322A7 #A77622 #54A722
monochromatic
#140D41 #231874 #3322A7 #4631D5 #7464DF

Accessibility & contrast

On white

10.89
#3322A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3322A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3322A7
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3322A7#FFFFFF#000000##FFFFFF
##3322A71.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AB
Deuteranopia (green-blind)
#0037A5
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3322a7;
/* rgb */ color: rgb(51, 34, 167);
/* oklch */ color: oklch(38.0% 0.197 277.2);
Tailwind
colors: {
  custom: {
    50: '#7c61c2',
    500: '#3322a7',
    950: '#000000',
  },
}
SCSS
$custom: #3322a7;
$custom-light: #7c61c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3322a7",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 247.669,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38031,
    "c": 0.19714,
    "h": 277.2
  },
  "luminance": 0.04638
}

Semantic roles & 50–950 ramp

primary
#3322A7
secondary
#B8C560
accent
#E93FD3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3322A7

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

Preview Lab → · Contrast checker → · Palette generator →

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