#3226A2#3226A2

#3226A2 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.188 H 276.9°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#3226A2
RGBrgb(50, 38, 162)
HSLhsl(246, 62%, 39%)
HSVhsv(246, 77%, 64%)
CMYKcmyk(69.1%, 76.5%, 0%, 36.5%)
CIE-LABlab(25.78, 43.76, -64.48)
CIE-LCHlch(25.78, 77.93, 304.16°)
OKLaboklab(37.92% 0.0225 -0.1863)
OKLCHoklch(37.92% 0.188 276.9)
XYZxyz(8.5280, 4.6722, 34.6278)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3226A2 #96A226
analogous
#2658A2 #3226A2 #7026A2
triadic
#3226A2 #A23226 #26A232
tetradic
#3226A2 #A22658 #96A226 #26A270
square
#3226A2 #A22658 #96A226 #26A270
split-complementary
#3226A2 #A27026 #58A226
monochromatic
#130F3F #231A70 #3226A2 #4435D0 #7267DB

Accessibility & contrast

On white

10.85
#3226A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3226A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3226A2
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3226A2#FFFFFF#000000##FFFFFF
##3226A21.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A6
Deuteranopia (green-blind)
#0038A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3226a2;
/* rgb */ color: rgb(50, 38, 162);
/* oklch */ color: oklch(37.9% 0.188 276.9);
Tailwind
colors: {
  custom: {
    50: '#7b63bf',
    500: '#3226a2',
    950: '#000000',
  },
}
SCSS
$custom: #3226a2;
$custom-light: #7b63bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3226a2",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 245.806,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37924,
    "c": 0.1877,
    "h": 276.9
  },
  "luminance": 0.04673
}

Semantic roles & 50–950 ramp

primary
#3226A2
secondary
#B8C163
accent
#E543D5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3226A2

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

Preview Lab → · Contrast checker → · Palette generator →

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