#3227AA#3227AA

#3227AA is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.9% C 0.196 H 275.9°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#3227AA
RGBrgb(50, 39, 170)
HSLhsl(245, 63%, 41%)
HSVhsv(245, 77%, 67%)
CMYKcmyk(70.6%, 77.1%, 0%, 33.3%)
CIE-LABlab(26.82, 45.78, -67.60)
CIE-LCHlch(26.82, 81.64, 304.10°)
OKLaboklab(38.91% 0.0202 -0.1954)
OKLCHoklch(38.91% 0.196 275.9)
XYZxyz(9.2942, 5.0306, 38.5036)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3227AA #9FAA27
analogous
#275DAA #3227AA #7327AA
triadic
#3227AA #AA3227 #27AA32
tetradic
#3227AA #AA275D #9FAA27 #27AA73
square
#3227AA #AA275D #9FAA27 #27AA73
split-complementary
#3227AA #AA7327 #5DAA27
monochromatic
#151046 #231C78 #3227AA #493CD2 #776EDE

Accessibility & contrast

On white

10.47
#3227AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3227AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3227AA#FFFFFF#000000##FFFFFF
##3227AA1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#003AA8
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3227aa;
/* rgb */ color: rgb(50, 39, 170);
/* oklch */ color: oklch(38.9% 0.196 275.9);
Tailwind
colors: {
  custom: {
    50: '#7c64c5',
    500: '#3227aa',
    950: '#000000',
  },
}
SCSS
$custom: #3227aa;
$custom-light: #7c64c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3227aa",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 245.038,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38911,
    "c": 0.19647,
    "h": 275.9
  },
  "luminance": 0.05031
}

Semantic roles & 50–950 ramp

primary
#3227AA
secondary
#BDC469
accent
#E642D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3227AA

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

Preview Lab → · Contrast checker → · Palette generator →

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