#3226B6#3226B6

#3226B6 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.1% C 0.212 H 274.8°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#3226B6
RGBrgb(50, 38, 182)
HSLhsl(245, 65%, 43%)
HSVhsv(245, 79%, 71%)
CMYKcmyk(72.5%, 79.1%, 0%, 28.6%)
CIE-LABlab(27.96, 50.06, -72.91)
CIE-LCHlch(27.96, 88.44, 304.48°)
OKLaboklab(40.09% 0.0177 -0.2108)
OKLCHoklch(40.09% 0.212 274.8)
XYZxyz(10.4492, 5.4407, 44.7464)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3226B6 #AAB626
analogous
#2662B6 #3226B6 #7A26B6
triadic
#3226B6 #B63226 #26B632
tetradic
#3226B6 #B62662 #AAB626 #26B67A
square
#3226B6 #B62662 #AAB626 #26B67A
split-complementary
#3226B6 #B67A26 #62B626
monochromatic
#161151 #241B83 #3226B6 #4E42D7 #7D74E2

Accessibility & contrast

On white

10.06
#3226B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3226B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3226B6#FFFFFF#000000##FFFFFF
##3226B61.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BA
Deuteranopia (green-blind)
#003BB4
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3226b6;
/* rgb */ color: rgb(50, 38, 182);
/* oklch */ color: oklch(40.1% 0.212 274.8);
Tailwind
colors: {
  custom: {
    50: '#7f64cd',
    500: '#3226b6',
    950: '#000000',
  },
}
SCSS
$custom: #3226b6;
$custom-light: #7f64cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3226b6",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 182
  },
  "hsl": {
    "h": 245,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40091,
    "c": 0.21159,
    "h": 274.8
  },
  "luminance": 0.05442
}

Semantic roles & 50–950 ramp

primary
#3226B6
secondary
#C2C96E
accent
#E83FDA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3226B6

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

Preview Lab → · Contrast checker → · Palette generator →

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