#3223A2#3223A2

#3223A2 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.191 H 277.3°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#3223A2
RGBrgb(50, 35, 162)
HSLhsl(247, 64%, 39%)
HSVhsv(247, 78%, 64%)
CMYKcmyk(69.1%, 78.4%, 0%, 36.5%)
CIE-LABlab(25.22, 45.34, -65.40)
CIE-LCHlch(25.22, 79.58, 304.73°)
OKLaboklab(37.53% 0.0241 -0.189)
OKLCHoklch(37.53% 0.191 277.3)
XYZxyz(8.4359, 4.4881, 34.5971)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3223A2 #93A223
analogous
#2353A2 #3223A2 #7123A2
triadic
#3223A2 #A23223 #23A232
tetradic
#3223A2 #A22353 #93A223 #23A271
square
#3223A2 #A22353 #93A223 #23A271
split-complementary
#3223A2 #A27123 #53A223
monochromatic
#130D3D #221870 #3223A2 #4330D2 #7162DD

Accessibility & contrast

On white

11.07
#3223A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3223A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3223A2
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3223A2#FFFFFF#000000##FFFFFF
##3223A21.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0036A0
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3223a2;
/* rgb */ color: rgb(50, 35, 162);
/* oklch */ color: oklch(37.5% 0.191 277.3);
Tailwind
colors: {
  custom: {
    50: '#7b61bf',
    500: '#3223a2',
    950: '#000000',
  },
}
SCSS
$custom: #3223a2;
$custom-light: #7b61bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3223a2",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 247.087,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37534,
    "c": 0.19052,
    "h": 277.3
  },
  "luminance": 0.04489
}

Semantic roles & 50–950 ramp

primary
#3223A2
secondary
#B7C25E
accent
#E740D4
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3223A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3223A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva