#3226A5#3226A5

#3226A5 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.191 H 276.6°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#3226A5
RGBrgb(50, 38, 165)
HSLhsl(246, 63%, 40%)
HSVhsv(246, 77%, 65%)
CMYKcmyk(69.7%, 77%, 0%, 35.3%)
CIE-LABlab(26.10, 44.72, -65.77)
CIE-LCHlch(26.10, 79.54, 304.21°)
OKLaboklab(38.24% 0.0218 -0.1901)
OKLCHoklch(38.24% 0.191 276.6)
XYZxyz(8.7978, 4.7801, 36.0490)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3226A5 #99A526
analogous
#265AA5 #3226A5 #7126A5
triadic
#3226A5 #A53226 #26A532
tetradic
#3226A5 #A5265A #99A526 #26A571
square
#3226A5 #A5265A #99A526 #26A571
split-complementary
#3226A5 #A57126 #5AA526
monochromatic
#140F42 #231B73 #3226A5 #4637D1 #7469DC

Accessibility & contrast

On white

10.74
#3226A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3226A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3226A5#FFFFFF#000000##FFFFFF
##3226A51.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3226a5;
/* rgb */ color: rgb(50, 38, 165);
/* oklch */ color: oklch(38.2% 0.191 276.6);
Tailwind
colors: {
  custom: {
    50: '#7b63c1',
    500: '#3226a5',
    950: '#000000',
  },
}
SCSS
$custom: #3226a5;
$custom-light: #7b63c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3226a5",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 245.669,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38244,
    "c": 0.19135,
    "h": 276.6
  },
  "luminance": 0.04781
}

Semantic roles & 50–950 ramp

primary
#3226A5
secondary
#BAC364
accent
#E642D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3226A5

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

Preview Lab → · Contrast checker → · Palette generator →

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