#3227AC#3227AC

#3227AC is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.1% C 0.199 H 275.7°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#3227AC
RGBrgb(50, 39, 172)
HSLhsl(245, 63%, 41%)
HSVhsv(245, 77%, 67%)
CMYKcmyk(70.9%, 77.3%, 0%, 32.5%)
CIE-LABlab(27.04, 46.41, -68.45)
CIE-LCHlch(27.04, 82.70, 304.14°)
OKLaboklab(39.13% 0.0197 -0.1979)
OKLCHoklch(39.13% 0.199 275.7)
XYZxyz(9.4849, 5.1068, 39.5076)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3227AC #A1AC27
analogous
#275FAC #3227AC #7527AC
triadic
#3227AC #AC3227 #27AC32
tetradic
#3227AC #AC275F #A1AC27 #27AC75
square
#3227AC #AC275F #A1AC27 #27AC75
split-complementary
#3227AC #AC7527 #5FAC27
monochromatic
#151048 #231C7A #3227AC #4A3DD3 #786FDE

Accessibility & contrast

On white

10.39
#3227AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3227AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3227AC#FFFFFF#000000##FFFFFF
##3227AC1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#003AAA
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3227ac;
/* rgb */ color: rgb(50, 39, 172);
/* oklch */ color: oklch(39.1% 0.199 275.7);
Tailwind
colors: {
  custom: {
    50: '#7d64c6',
    500: '#3227ac',
    950: '#000000',
  },
}
SCSS
$custom: #3227ac;
$custom-light: #7d64c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3227ac",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 244.962,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39126,
    "c": 0.19887,
    "h": 275.7
  },
  "luminance": 0.05108
}

Semantic roles & 50–950 ramp

primary
#3227AC
secondary
#BEC56A
accent
#E642D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3227AC

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

Preview Lab → · Contrast checker → · Palette generator →

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