#3227C6#3227C6

#3227C6 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 42.0% C 0.229 H 273.4°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#3227C6
RGBrgb(50, 39, 198)
HSLhsl(244, 67%, 46%)
HSVhsv(244, 80%, 78%)
CMYKcmyk(74.7%, 80.3%, 0%, 22.4%)
CIE-LABlab(29.92, 54.48, -79.10)
CIE-LCHlch(29.92, 96.05, 304.56°)
OKLaboklab(41.99% 0.0135 -0.2288)
OKLCHoklch(41.99% 0.229 273.4)
XYZxyz(12.2306, 6.2051, 53.9683)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3227C6 #BBC627
analogous
#276CC6 #3227C6 #8227C6
triadic
#3227C6 #C63227 #27C632
tetradic
#3227C6 #C6276C #BBC627 #27C682
square
#3227C6 #C6276C #BBC627 #27C682
split-complementary
#3227C6 #C68227 #6CC627
monochromatic
#181360 #251D93 #3227C6 #584EDC #8881E6

Accessibility & contrast

On white

9.37
#3227C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3227C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3227C6#FFFFFF#000000##FFFFFF
##3227C61.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ECA
Deuteranopia (green-blind)
#003FC3
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3227c6;
/* rgb */ color: rgb(50, 39, 198);
/* oklch */ color: oklch(42.0% 0.229 273.4);
Tailwind
colors: {
  custom: {
    50: '#8366d9',
    500: '#3227c6',
    950: '#000000',
  },
}
SCSS
$custom: #3227c6;
$custom-light: #8366d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3227c6",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 198
  },
  "hsl": {
    "h": 244.151,
    "s": 67.089,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41987,
    "c": 0.22922,
    "h": 273.4
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#3227C6
secondary
#C9CF7A
accent
#EA3EDE
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #3227C6

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

Preview Lab → · Contrast checker → · Palette generator →

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