#3228A9#3228A9

#3228A9 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.194 H 275.9°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#3228A9
RGBrgb(50, 40, 169)
HSLhsl(245, 62%, 41%)
HSVhsv(245, 76%, 66%)
CMYKcmyk(70.4%, 76.3%, 0%, 33.7%)
CIE-LABlab(26.90, 44.92, -66.86)
CIE-LCHlch(26.90, 80.55, 303.89°)
OKLaboklab(38.94% 0.0199 -0.1933)
OKLCHoklch(38.94% 0.194 275.9)
XYZxyz(9.2333, 5.0594, 38.0184)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228A9 #9FA928
analogous
#285EA9 #3228A9 #7228A9
triadic
#3228A9 #A93228 #28A932
tetradic
#3228A9 #A9285E #9FA928 #28A972
square
#3228A9 #A9285E #9FA928 #28A972
split-complementary
#3228A9 #A97228 #5EA928
monochromatic
#151146 #231C78 #3228A9 #493DD1 #776FDD

Accessibility & contrast

On white

10.44
#3228A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3228A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3228A9
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228A9#FFFFFF#000000##FFFFFF
##3228A91.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3228a9;
/* rgb */ color: rgb(50, 40, 169);
/* oklch */ color: oklch(38.9% 0.194 275.9);
Tailwind
colors: {
  custom: {
    50: '#7c64c4',
    500: '#3228a9',
    950: '#000000',
  },
}
SCSS
$custom: #3228a9;
$custom-light: #7c64c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3228a9",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 244.651,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38937,
    "c": 0.19431,
    "h": 275.9
  },
  "luminance": 0.0506
}

Semantic roles & 50–950 ramp

primary
#3228A9
secondary
#BDC469
accent
#E543D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3228A9

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

Preview Lab → · Contrast checker → · Palette generator →

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