#3227BD#3227BD

#3227BD is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.0% C 0.219 H 274.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#3227BD
RGBrgb(50, 39, 189)
HSLhsl(244, 66%, 45%)
HSVhsv(244, 79%, 74%)
CMYKcmyk(73.5%, 79.4%, 0%, 25.9%)
CIE-LABlab(28.91, 51.73, -75.49)
CIE-LCHlch(28.91, 91.51, 304.42°)
OKLaboklab(40.98% 0.0156 -0.2183)
OKLCHoklch(40.98% 0.219 274.1)
XYZxyz(11.2232, 5.8021, 48.6627)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3227BD #B2BD27
analogous
#2767BD #3227BD #7D27BD
triadic
#3227BD #BD3227 #27BD32
tetradic
#3227BD #BD2767 #B2BD27 #27BD7D
square
#3227BD #BD2767 #B2BD27 #27BD7D
split-complementary
#3227BD #BD7D27 #67BD27
monochromatic
#171258 #251D8A #3227BD #5348D9 #827BE4

Accessibility & contrast

On white

9.72
#3227BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3227BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3227BD#FFFFFF#000000##FFFFFF
##3227BD1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#003DBA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3227bd;
/* rgb */ color: rgb(50, 39, 189);
/* oklch */ color: oklch(41.0% 0.219 274.1);
Tailwind
colors: {
  custom: {
    50: '#8165d2',
    500: '#3227bd',
    950: '#000000',
  },
}
SCSS
$custom: #3227bd;
$custom-light: #8165d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3227bd",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 244.4,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40984,
    "c": 0.2189,
    "h": 274.1
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#3227BD
secondary
#C5CC74
accent
#E93FDC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3227BD

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

Preview Lab → · Contrast checker → · Palette generator →

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