#3227B1#3227B1

#3227B1 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.7% C 0.205 H 275.2°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#3227B1
RGBrgb(50, 39, 177)
HSLhsl(245, 64%, 42%)
HSVhsv(245, 78%, 69%)
CMYKcmyk(71.8%, 78%, 0%, 30.6%)
CIE-LABlab(27.58, 47.99, -70.55)
CIE-LCHlch(27.58, 85.33, 304.23°)
OKLaboklab(39.67% 0.0185 -0.204)
OKLCHoklch(39.67% 0.205 275.2)
XYZxyz(9.9741, 5.3025, 42.0843)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3227B1 #A6B127
analogous
#2761B1 #3227B1 #7727B1
triadic
#3227B1 #B13227 #27B132
tetradic
#3227B1 #B12761 #A6B127 #27B177
square
#3227B1 #B12761 #A6B127 #27B177
split-complementary
#3227B1 #B17727 #61B127
monochromatic
#16114D #241C7F #3227B1 #4C40D5 #7B72E0

Accessibility & contrast

On white

10.19
#3227B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3227B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3227B1
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3227B1#FFFFFF#000000##FFFFFF
##3227B11.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3227b1;
/* rgb */ color: rgb(50, 39, 177);
/* oklch */ color: oklch(39.7% 0.205 275.2);
Tailwind
colors: {
  custom: {
    50: '#7e64ca',
    500: '#3227b1',
    950: '#000000',
  },
}
SCSS
$custom: #3227b1;
$custom-light: #7e64ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3227b1",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 244.783,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39667,
    "c": 0.20484,
    "h": 275.2
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#3227B1
secondary
#C0C76D
accent
#E741DA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3227B1

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

Preview Lab → · Contrast checker → · Palette generator →

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