#3226AB#3226AB

#3226AB is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.9% C 0.199 H 275.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#3226AB
RGBrgb(50, 38, 171)
HSLhsl(245, 64%, 41%)
HSVhsv(245, 78%, 67%)
CMYKcmyk(70.8%, 77.8%, 0%, 32.9%)
CIE-LABlab(26.75, 46.62, -68.33)
CIE-LCHlch(26.75, 82.72, 304.31°)
OKLaboklab(38.89% 0.0204 -0.1975)
OKLCHoklch(38.89% 0.199 275.9)
XYZxyz(9.3568, 5.0037, 38.9929)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3226AB #9FAB26
analogous
#265CAB #3226AB #7426AB
triadic
#3226AB #AB3226 #26AB32
tetradic
#3226AB #AB265C #9FAB26 #26AB74
square
#3226AB #AB265C #9FAB26 #26AB74
split-complementary
#3226AB #AB7426 #5CAB26
monochromatic
#151047 #231B79 #3226AB #493BD3 #776DDF

Accessibility & contrast

On white

10.49
#3226AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3226AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3226AB
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3226AB#FFFFFF#000000##FFFFFF
##3226AB1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AF
Deuteranopia (green-blind)
#0039A9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3226ab;
/* rgb */ color: rgb(50, 38, 171);
/* oklch */ color: oklch(38.9% 0.199 275.9);
Tailwind
colors: {
  custom: {
    50: '#7d63c5',
    500: '#3226ab',
    950: '#000000',
  },
}
SCSS
$custom: #3226ab;
$custom-light: #7d63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3226ab",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 245.414,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38889,
    "c": 0.19858,
    "h": 275.9
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#3226AB
secondary
#BDC568
accent
#E741D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3226AB

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

Preview Lab → · Contrast checker → · Palette generator →

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