#3226AA#3226AA

#3226AA is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.197 H 276.0°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#3226AA
RGBrgb(50, 38, 170)
HSLhsl(245, 63%, 41%)
HSVhsv(245, 78%, 67%)
CMYKcmyk(70.6%, 77.6%, 0%, 33.3%)
CIE-LABlab(26.64, 46.30, -67.91)
CIE-LCHlch(26.64, 82.19, 304.29°)
OKLaboklab(38.78% 0.0207 -0.1963)
OKLCHoklch(38.78% 0.197 276)
XYZxyz(9.2618, 4.9658, 38.4928)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3226AA #9EAA26
analogous
#265CAA #3226AA #7426AA
triadic
#3226AA #AA3226 #26AA32
tetradic
#3226AA #AA265C #9EAA26 #26AA74
square
#3226AA #AA265C #9EAA26 #26AA74
split-complementary
#3226AA #AA7426 #5CAA26
monochromatic
#151046 #231B78 #3226AA #483AD3 #776CDE

Accessibility & contrast

On white

10.53
#3226AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3226AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3226AA#FFFFFF#000000##FFFFFF
##3226AA1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#0039A8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3226aa;
/* rgb */ color: rgb(50, 38, 170);
/* oklch */ color: oklch(38.8% 0.197 276.0);
Tailwind
colors: {
  custom: {
    50: '#7c63c5',
    500: '#3226aa',
    950: '#000000',
  },
}
SCSS
$custom: #3226aa;
$custom-light: #7c63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3226aa",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 245.455,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38781,
    "c": 0.19738,
    "h": 276
  },
  "luminance": 0.04967
}

Semantic roles & 50–950 ramp

primary
#3226AA
secondary
#BCC567
accent
#E641D7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3226AA

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

Preview Lab → · Contrast checker → · Palette generator →

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