#3226B3#3226B3

#3226B3 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.8% C 0.208 H 275.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#3226B3
RGBrgb(50, 38, 179)
HSLhsl(245, 65%, 43%)
HSVhsv(245, 79%, 70%)
CMYKcmyk(72.1%, 78.8%, 0%, 29.8%)
CIE-LABlab(27.62, 49.13, -71.67)
CIE-LCHlch(27.62, 86.90, 304.43°)
OKLaboklab(39.76% 0.0185 -0.2073)
OKLCHoklch(39.76% 0.208 275.1)
XYZxyz(10.1425, 5.3180, 43.1310)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3226B3 #A7B326
analogous
#2661B3 #3226B3 #7826B3
triadic
#3226B3 #B33226 #26B332
tetradic
#3226B3 #B32661 #A7B326 #26B378
square
#3226B3 #B32661 #A7B326 #26B378
split-complementary
#3226B3 #B37826 #61B326
monochromatic
#16114E #241B81 #3226B3 #4D40D6 #7C72E1

Accessibility & contrast

On white

10.18
#3226B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3226B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3226B3#FFFFFF#000000##FFFFFF
##3226B31.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3226b3;
/* rgb */ color: rgb(50, 38, 179);
/* oklch */ color: oklch(39.8% 0.208 275.1);
Tailwind
colors: {
  custom: {
    50: '#7e64cb',
    500: '#3226b3',
    950: '#000000',
  },
}
SCSS
$custom: #3226b3;
$custom-light: #7e64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3226b3",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 245.106,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39761,
    "c": 0.20808,
    "h": 275.1
  },
  "luminance": 0.05319
}

Semantic roles & 50–950 ramp

primary
#3226B3
secondary
#C0C86D
accent
#E840DA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3226B3

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

Preview Lab → · Contrast checker → · Palette generator →

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