#3323A8#3323A8

#3323A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.3% C 0.197 H 277.0°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#3323A8
RGBrgb(51, 35, 168)
HSLhsl(247, 66%, 40%)
HSVhsv(247, 79%, 66%)
CMYKcmyk(69.6%, 79.2%, 0%, 34.1%)
CIE-LABlab(25.96, 47.31, -67.82)
CIE-LCHlch(25.96, 82.69, 304.90°)
OKLaboklab(38.26% 0.024 -0.196)
OKLCHoklch(38.26% 0.197 277)
XYZxyz(9.0319, 4.7322, 37.4756)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3323A8 #98A823
analogous
#2356A8 #3323A8 #7623A8
triadic
#3323A8 #A83323 #23A833
tetradic
#3323A8 #A82356 #98A823 #23A876
square
#3323A8 #A82356 #98A823 #23A876
split-complementary
#3323A8 #A87623 #56A823
monochromatic
#140E43 #241875 #3323A8 #4734D5 #7566DF

Accessibility & contrast

On white

10.79
#3323A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3323A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3323A8
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3323A8#FFFFFF#000000##FFFFFF
##3323A81.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3323a8;
/* rgb */ color: rgb(51, 35, 168);
/* oklch */ color: oklch(38.3% 0.197 277.0);
Tailwind
colors: {
  custom: {
    50: '#7d62c3',
    500: '#3323a8',
    950: '#000000',
  },
}
SCSS
$custom: #3323a8;
$custom-light: #7d62c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3323a8",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 247.218,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38261,
    "c": 0.19745,
    "h": 277
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#3323A8
secondary
#B9C562
accent
#E83FD4
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3323A8

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

Preview Lab → · Contrast checker → · Palette generator →

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