#3322A0#3322A0

#3322A0 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.189 H 278.1°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#3322A0
RGBrgb(51, 34, 160)
HSLhsl(248, 65%, 38%)
HSVhsv(248, 79%, 63%)
CMYKcmyk(68.1%, 78.8%, 0%, 37.3%)
CIE-LABlab(24.91, 45.33, -64.71)
CIE-LCHlch(24.91, 79.01, 305.02°)
OKLaboklab(37.27% 0.0266 -0.1869)
OKLCHoklch(37.27% 0.189 278.1)
XYZxyz(8.2804, 4.3852, 33.6610)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3322A0 #8FA022
analogous
#2250A0 #3322A0 #7222A0
triadic
#3322A0 #A03322 #22A033
tetradic
#3322A0 #A02250 #8FA022 #22A072
square
#3322A0 #A02250 #8FA022 #22A072
split-complementary
#3322A0 #A07222 #50A022
monochromatic
#130D3B #23176E #3322A0 #432DD2 #705FDD

Accessibility & contrast

On white

11.19
#3322A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3322A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3322A0
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3322A0#FFFFFF#000000##FFFFFF
##3322A01.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3322a0;
/* rgb */ color: rgb(51, 34, 160);
/* oklch */ color: oklch(37.3% 0.189 278.1);
Tailwind
colors: {
  custom: {
    50: '#7b61bd',
    500: '#3322a0',
    950: '#000000',
  },
}
SCSS
$custom: #3322a0;
$custom-light: #7b61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3322a0",
  "rgb": {
    "r": 51,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 248.095,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37268,
    "c": 0.1888,
    "h": 278.1
  },
  "luminance": 0.04386
}

Semantic roles & 50–950 ramp

primary
#3322A0
secondary
#B4C25C
accent
#E840D1
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3322A0

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

Preview Lab → · Contrast checker → · Palette generator →

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