#3227AE#3227AE

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

Color values

HEX#3227AE
RGBrgb(50, 39, 174)
HSLhsl(245, 63%, 42%)
HSVhsv(245, 78%, 68%)
CMYKcmyk(71.3%, 77.6%, 0%, 31.8%)
CIE-LABlab(27.25, 47.05, -69.29)
CIE-LCHlch(27.25, 83.75, 304.18°)
OKLaboklab(39.34% 0.0192 -0.2003)
OKLCHoklch(39.34% 0.201 275.5)
XYZxyz(9.6784, 5.1842, 40.5268)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3227AE #A3AE27
analogous
#2760AE #3227AE #7627AE
triadic
#3227AE #AE3227 #27AE32
tetradic
#3227AE #AE2760 #A3AE27 #27AE76
square
#3227AE #AE2760 #A3AE27 #27AE76
split-complementary
#3227AE #AE7627 #60AE27
monochromatic
#15114A #241C7C #3227AE #4B3ED4 #7970DF

Accessibility & contrast

On white

10.31
#3227AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3227AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3227AE
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3227AE#FFFFFF#000000##FFFFFF
##3227AE1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3227ae;
/* rgb */ color: rgb(50, 39, 174);
/* oklch */ color: oklch(39.3% 0.201 275.5);
Tailwind
colors: {
  custom: {
    50: '#7d64c7',
    500: '#3227ae',
    950: '#000000',
  },
}
SCSS
$custom: #3227ae;
$custom-light: #7d64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3227ae",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 244.889,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39342,
    "c": 0.20127,
    "h": 275.5
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#3227AE
secondary
#BFC66B
accent
#E641D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3227AE

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

Preview Lab → · Contrast checker → · Palette generator →

#3227AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva