#3226AD#3226AD

#3226AD is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.1% C 0.201 H 275.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#3226AD
RGBrgb(50, 38, 173)
HSLhsl(245, 64%, 41%)
HSVhsv(245, 78%, 68%)
CMYKcmyk(71.1%, 78%, 0%, 32.2%)
CIE-LABlab(26.96, 47.25, -69.17)
CIE-LCHlch(26.96, 83.77, 304.34°)
OKLaboklab(39.11% 0.0199 -0.2)
OKLCHoklch(39.11% 0.201 275.7)
XYZxyz(9.5489, 5.0806, 40.0045)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3226AD #A1AD26
analogous
#265EAD #3226AD #7626AD
triadic
#3226AD #AD3226 #26AD32
tetradic
#3226AD #AD265E #A1AD26 #26AD76
square
#3226AD #AD265E #A1AD26 #26AD76
split-complementary
#3226AD #AD7626 #5EAD26
monochromatic
#151049 #231B7B #3226AD #4A3CD4 #786EDF

Accessibility & contrast

On white

10.42
#3226AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3226AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3226AD#FFFFFF#000000##FFFFFF
##3226AD1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#003AAB
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3226ad;
/* rgb */ color: rgb(50, 38, 173);
/* oklch */ color: oklch(39.1% 0.201 275.7);
Tailwind
colors: {
  custom: {
    50: '#7d63c7',
    500: '#3226ad',
    950: '#000000',
  },
}
SCSS
$custom: #3226ad;
$custom-light: #7d63c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3226ad",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 245.333,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39106,
    "c": 0.20097,
    "h": 275.7
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3226AD

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

Preview Lab → · Contrast checker → · Palette generator →

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