#3323A1#3323A1

#3323A1 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.189 H 277.8°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#3323A1
RGBrgb(51, 35, 161)
HSLhsl(248, 64%, 38%)
HSVhsv(248, 78%, 63%)
CMYKcmyk(68.3%, 78.3%, 0%, 36.9%)
CIE-LABlab(25.19, 45.13, -64.84)
CIE-LCHlch(25.19, 79.00, 304.84°)
OKLaboklab(37.5% 0.0258 -0.1873)
OKLCHoklch(37.5% 0.189 277.8)
XYZxyz(8.3972, 4.4783, 34.1332)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3323A1 #91A123
analogous
#2352A1 #3323A1 #7223A1
triadic
#3323A1 #A13323 #23A133
tetradic
#3323A1 #A12352 #91A123 #23A172
square
#3323A1 #A12352 #91A123 #23A172
split-complementary
#3323A1 #A17223 #52A123
monochromatic
#130D3C #23186F #3323A1 #442FD2 #7162DD

Accessibility & contrast

On white

11.08
#3323A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3323A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3323A1
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3323A1#FFFFFF#000000##FFFFFF
##3323A11.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3323a1;
/* rgb */ color: rgb(51, 35, 161);
/* oklch */ color: oklch(37.5% 0.189 277.8);
Tailwind
colors: {
  custom: {
    50: '#7b61be',
    500: '#3323a1',
    950: '#000000',
  },
}
SCSS
$custom: #3323a1;
$custom-light: #7b61be;
$custom-dark: #000000;
JSON
{
  "hex": "#3323a1",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 161
  },
  "hsl": {
    "h": 247.619,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37501,
    "c": 0.18909,
    "h": 277.8
  },
  "luminance": 0.04479
}

Semantic roles & 50–950 ramp

primary
#3323A1
secondary
#B5C25E
accent
#E741D2
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3323A1

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

Preview Lab → · Contrast checker → · Palette generator →

#3323A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva