#3322A8#3322A8

#3322A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.1% C 0.198 H 277.1°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#3322A8
RGBrgb(51, 34, 168)
HSLhsl(248, 66%, 40%)
HSVhsv(248, 80%, 66%)
CMYKcmyk(69.6%, 79.8%, 0%, 34.1%)
CIE-LABlab(25.79, 47.81, -68.10)
CIE-LCHlch(25.79, 83.21, 305.07°)
OKLaboklab(38.14% 0.0244 -0.1968)
OKLCHoklch(38.14% 0.198 277.1)
XYZxyz(9.0029, 4.6742, 37.4660)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3322A8 #97A822
analogous
#2254A8 #3322A8 #7622A8
triadic
#3322A8 #A83322 #22A833
tetradic
#3322A8 #A82254 #97A822 #22A876
square
#3322A8 #A82254 #97A822 #22A876
split-complementary
#3322A8 #A87622 #54A822
monochromatic
#140D42 #241875 #3322A8 #4732D5 #7465E0

Accessibility & contrast

On white

10.85
#3322A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3322A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3322A8
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3322A8#FFFFFF#000000##FFFFFF
##3322A81.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3322a8;
/* rgb */ color: rgb(51, 34, 168);
/* oklch */ color: oklch(38.1% 0.198 277.1);
Tailwind
colors: {
  custom: {
    50: '#7d61c3',
    500: '#3322a8',
    950: '#000000',
  },
}
SCSS
$custom: #3322a8;
$custom-light: #7d61c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3322a8",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 247.612,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38141,
    "c": 0.19832,
    "h": 277.1
  },
  "luminance": 0.04675
}

Semantic roles & 50–950 ramp

primary
#3322A8
secondary
#B8C561
accent
#E93FD4
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3322A8

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

Preview Lab → · Contrast checker → · Palette generator →

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