#3226BD#3226BD

#3226BD is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.9% C 0.220 H 274.2°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#3226BD
RGBrgb(50, 38, 189)
HSLhsl(245, 67%, 45%)
HSVhsv(245, 80%, 74%)
CMYKcmyk(73.5%, 79.9%, 0%, 25.9%)
CIE-LABlab(28.74, 52.22, -75.76)
CIE-LCHlch(28.74, 92.02, 304.58°)
OKLaboklab(40.87% 0.016 -0.2191)
OKLCHoklch(40.87% 0.22 274.2)
XYZxyz(11.1908, 5.7373, 48.6519)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3226BD #B1BD26
analogous
#2666BD #3226BD #7E26BD
triadic
#3226BD #BD3226 #26BD32
tetradic
#3226BD #BD2666 #B1BD26 #26BD7E
square
#3226BD #BD2666 #B1BD26 #26BD7E
split-complementary
#3226BD #BD7E26 #66BD26
monochromatic
#171257 #251C8A #3226BD #5246DA #8279E4

Accessibility & contrast

On white

9.78
#3226BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3226BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3226BD#FFFFFF#000000##FFFFFF
##3226BD1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC1
Deuteranopia (green-blind)
#003DBA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3226bd;
/* rgb */ color: rgb(50, 38, 189);
/* oklch */ color: oklch(40.9% 0.220 274.2);
Tailwind
colors: {
  custom: {
    50: '#8164d2',
    500: '#3226bd',
    950: '#000000',
  },
}
SCSS
$custom: #3226bd;
$custom-light: #8164d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3226bd",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 244.768,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40867,
    "c": 0.21971,
    "h": 274.2
  },
  "luminance": 0.05738
}

Semantic roles & 50–950 ramp

primary
#3226BD
secondary
#C5CC73
accent
#E93EDC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3226BD

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

Preview Lab → · Contrast checker → · Palette generator →

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