#3227B8#3227B8

#3227B8 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.4% C 0.213 H 274.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3227B8
RGBrgb(50, 39, 184)
HSLhsl(245, 65%, 44%)
HSVhsv(245, 79%, 72%)
CMYKcmyk(72.8%, 78.8%, 0%, 27.8%)
CIE-LABlab(28.35, 50.18, -73.44)
CIE-LCHlch(28.35, 88.95, 304.34°)
OKLaboklab(40.43% 0.0168 -0.2124)
OKLCHoklch(40.43% 0.213 274.5)
XYZxyz(10.6898, 5.5888, 45.8535)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3227B8 #ADB827
analogous
#2764B8 #3227B8 #7A27B8
triadic
#3227B8 #B83227 #27B832
tetradic
#3227B8 #B82764 #ADB827 #27B87A
square
#3227B8 #B82764 #ADB827 #27B87A
split-complementary
#3227B8 #B87A27 #64B827
monochromatic
#171253 #241C86 #3227B8 #5045D8 #7F77E2

Accessibility & contrast

On white

9.92
#3227B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3227B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3227B8#FFFFFF#000000##FFFFFF
##3227B81.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3227b8;
/* rgb */ color: rgb(50, 39, 184);
/* oklch */ color: oklch(40.4% 0.213 274.5);
Tailwind
colors: {
  custom: {
    50: '#7f65cf',
    500: '#3227b8',
    950: '#000000',
  },
}
SCSS
$custom: #3227b8;
$custom-light: #7f65cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3227b8",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 184
  },
  "hsl": {
    "h": 244.552,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40432,
    "c": 0.21309,
    "h": 274.5
  },
  "luminance": 0.0559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3227B8

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

Preview Lab → · Contrast checker → · Palette generator →

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