#3226A8#3226A8

#3226A8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.195 H 276.2°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#3226A8
RGBrgb(50, 38, 168)
HSLhsl(246, 63%, 40%)
HSVhsv(246, 77%, 66%)
CMYKcmyk(70.2%, 77.4%, 0%, 34.1%)
CIE-LABlab(26.42, 45.67, -67.06)
CIE-LCHlch(26.42, 81.13, 304.26°)
OKLaboklab(38.57% 0.0211 -0.1938)
OKLCHoklch(38.57% 0.195 276.2)
XYZxyz(9.0741, 4.8907, 37.5040)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3226A8 #9CA826
analogous
#265BA8 #3226A8 #7326A8
triadic
#3226A8 #A83226 #26A832
tetradic
#3226A8 #A8265B #9CA826 #26A873
square
#3226A8 #A8265B #9CA826 #26A873
split-complementary
#3226A8 #A87326 #5BA826
monochromatic
#140F44 #231B76 #3226A8 #4739D2 #756BDE

Accessibility & contrast

On white

10.62
#3226A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3226A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3226A8
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3226A8#FFFFFF#000000##FFFFFF
##3226A81.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3226a8;
/* rgb */ color: rgb(50, 38, 168);
/* oklch */ color: oklch(38.6% 0.195 276.2);
Tailwind
colors: {
  custom: {
    50: '#7c63c3',
    500: '#3226a8',
    950: '#000000',
  },
}
SCSS
$custom: #3226a8;
$custom-light: #7c63c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3226a8",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 245.538,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38566,
    "c": 0.19498,
    "h": 276.2
  },
  "luminance": 0.04891
}

Semantic roles & 50–950 ramp

primary
#3226A8
secondary
#BBC466
accent
#E642D7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3226A8

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

Preview Lab → · Contrast checker → · Palette generator →

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