#3227B5#3227B5

#3227B5 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.1% C 0.210 H 274.8°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#3227B5
RGBrgb(50, 39, 181)
HSLhsl(245, 65%, 43%)
HSVhsv(245, 78%, 71%)
CMYKcmyk(72.4%, 78.5%, 0%, 29%)
CIE-LABlab(28.02, 49.25, -72.21)
CIE-LCHlch(28.02, 87.41, 304.30°)
OKLaboklab(40.1% 0.0176 -0.2088)
OKLCHoklch(40.1% 0.21 274.8)
XYZxyz(10.3786, 5.4643, 44.2149)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3227B5 #AAB527
analogous
#2763B5 #3227B5 #7927B5
triadic
#3227B5 #B53227 #27B532
tetradic
#3227B5 #B52763 #AAB527 #27B579
square
#3227B5 #B52763 #AAB527 #27B579
split-complementary
#3227B5 #B57927 #63B527
monochromatic
#161150 #241C83 #3227B5 #4E43D6 #7D75E1

Accessibility & contrast

On white

10.03
#3227B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3227B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3227B5
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3227B5#FFFFFF#000000##FFFFFF
##3227B51.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B9
Deuteranopia (green-blind)
#003CB3
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3227b5;
/* rgb */ color: rgb(50, 39, 181);
/* oklch */ color: oklch(40.1% 0.210 274.8);
Tailwind
colors: {
  custom: {
    50: '#7f65cd',
    500: '#3227b5',
    950: '#000000',
  },
}
SCSS
$custom: #3227b5;
$custom-light: #7f65cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3227b5",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 181
  },
  "hsl": {
    "h": 244.648,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40103,
    "c": 0.20957,
    "h": 274.8
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3227B5

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

Preview Lab → · Contrast checker → · Palette generator →

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