#3227A9#3227A9

#3227A9 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.195 H 276.0°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#3227A9
RGBrgb(50, 39, 169)
HSLhsl(245, 63%, 41%)
HSVhsv(245, 77%, 66%)
CMYKcmyk(70.4%, 76.9%, 0%, 33.7%)
CIE-LABlab(26.71, 45.46, -67.17)
CIE-LCHlch(26.71, 81.11, 304.09°)
OKLaboklab(38.8% 0.0204 -0.1942)
OKLCHoklch(38.8% 0.195 276)
XYZxyz(9.2000, 4.9929, 38.0073)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3227A9 #9EA927
analogous
#275DA9 #3227A9 #7327A9
triadic
#3227A9 #A93227 #27A932
tetradic
#3227A9 #A9275D #9EA927 #27A973
square
#3227A9 #A9275D #9EA927 #27A973
split-complementary
#3227A9 #A97327 #5DA927
monochromatic
#151046 #231C77 #3227A9 #483BD2 #776DDD

Accessibility & contrast

On white

10.51
#3227A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3227A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3227A9
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3227A9#FFFFFF#000000##FFFFFF
##3227A91.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3227a9;
/* rgb */ color: rgb(50, 39, 169);
/* oklch */ color: oklch(38.8% 0.195 276.0);
Tailwind
colors: {
  custom: {
    50: '#7c64c4',
    500: '#3227a9',
    950: '#000000',
  },
}
SCSS
$custom: #3227a9;
$custom-light: #7c64c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3227a9",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 245.077,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38804,
    "c": 0.19526,
    "h": 276
  },
  "luminance": 0.04994
}

Semantic roles & 50–950 ramp

primary
#3227A9
secondary
#BCC468
accent
#E642D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3227A9

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

Preview Lab → · Contrast checker → · Palette generator →

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