#3226AF#3226AF

#3226AF is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.3% C 0.203 H 275.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#3226AF
RGBrgb(50, 38, 175)
HSLhsl(245, 64%, 42%)
HSVhsv(245, 78%, 69%)
CMYKcmyk(71.4%, 78.3%, 0%, 31.4%)
CIE-LABlab(27.18, 47.88, -70.01)
CIE-LCHlch(27.18, 84.82, 304.37°)
OKLaboklab(39.32% 0.0194 -0.2024)
OKLCHoklch(39.32% 0.203 275.5)
XYZxyz(9.7438, 5.1585, 41.0313)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3226AF #A3AF26
analogous
#265FAF #3226AF #7626AF
triadic
#3226AF #AF3226 #26AF32
tetradic
#3226AF #AF265F #A3AF26 #26AF76
square
#3226AF #AF265F #A3AF26 #26AF76
split-complementary
#3226AF #AF7626 #5FAF26
monochromatic
#15104A #241B7D #3226AF #4B3DD5 #7970E0

Accessibility & contrast

On white

10.34
#3226AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3226AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3226AF
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3226AF#FFFFFF#000000##FFFFFF
##3226AF1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3226af;
/* rgb */ color: rgb(50, 38, 175);
/* oklch */ color: oklch(39.3% 0.203 275.5);
Tailwind
colors: {
  custom: {
    50: '#7d64c8',
    500: '#3226af',
    950: '#000000',
  },
}
SCSS
$custom: #3226af;
$custom-light: #7d64c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3226af",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 245.255,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39324,
    "c": 0.20335,
    "h": 275.5
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#3226AF
secondary
#BFC76A
accent
#E740D9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3226AF

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

Preview Lab → · Contrast checker → · Palette generator →

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