#3227B7#3227B7

#3227B7 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.3% C 0.212 H 274.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#3227B7
RGBrgb(50, 39, 183)
HSLhsl(245, 65%, 44%)
HSVhsv(245, 79%, 72%)
CMYKcmyk(72.7%, 78.7%, 0%, 28.2%)
CIE-LABlab(28.24, 49.87, -73.03)
CIE-LCHlch(28.24, 88.44, 304.33°)
OKLaboklab(40.32% 0.0171 -0.2112)
OKLCHoklch(40.32% 0.212 274.6)
XYZxyz(10.5853, 5.5470, 45.3034)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3227B7 #ACB727
analogous
#2764B7 #3227B7 #7A27B7
triadic
#3227B7 #B73227 #27B732
tetradic
#3227B7 #B72764 #ACB727 #27B77A
square
#3227B7 #B72764 #ACB727 #27B77A
split-complementary
#3227B7 #B77A27 #64B727
monochromatic
#161152 #241C85 #3227B7 #4F44D7 #7F76E2

Accessibility & contrast

On white

9.95
#3227B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3227B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3227B7#FFFFFF#000000##FFFFFF
##3227B71.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BB
Deuteranopia (green-blind)
#003CB5
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3227b7;
/* rgb */ color: rgb(50, 39, 183);
/* oklch */ color: oklch(40.3% 0.212 274.6);
Tailwind
colors: {
  custom: {
    50: '#7f65ce',
    500: '#3227b7',
    950: '#000000',
  },
}
SCSS
$custom: #3227b7;
$custom-light: #7f65ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3227b7",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 183
  },
  "hsl": {
    "h": 244.583,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40322,
    "c": 0.21191,
    "h": 274.6
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#3227B7
secondary
#C3C970
accent
#E840DB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3227B7

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

Preview Lab → · Contrast checker → · Palette generator →

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