#3228C5#3228C5

#3228C5 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 42.0% C 0.227 H 273.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#3228C5
RGBrgb(50, 40, 197)
HSLhsl(244, 66%, 46%)
HSVhsv(244, 80%, 77%)
CMYKcmyk(74.6%, 79.7%, 0%, 22.7%)
CIE-LABlab(29.97, 53.70, -78.43)
CIE-LCHlch(29.97, 95.05, 304.40°)
OKLaboklab(41.99% 0.0134 -0.2269)
OKLCHoklch(41.99% 0.227 273.4)
XYZxyz(12.1489, 6.2256, 53.3739)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228C5 #BBC528
analogous
#286DC5 #3228C5 #8128C5
triadic
#3228C5 #C53228 #28C532
tetradic
#3228C5 #C5286D #BBC528 #28C581
square
#3228C5 #C5286D #BBC528 #28C581
split-complementary
#3228C5 #C58128 #6DC528
monochromatic
#18135F #251E92 #3228C5 #584FDB #8882E6

Accessibility & contrast

On white

9.35
#3228C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3228C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3228C5
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228C5#FFFFFF#000000##FFFFFF
##3228C51.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC9
Deuteranopia (green-blind)
#003FC2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3228c5;
/* rgb */ color: rgb(50, 40, 197);
/* oklch */ color: oklch(42.0% 0.227 273.4);
Tailwind
colors: {
  custom: {
    50: '#8266d8',
    500: '#3228c5',
    950: '#000000',
  },
}
SCSS
$custom: #3228c5;
$custom-light: #8266d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3228c5",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 197
  },
  "hsl": {
    "h": 243.822,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41989,
    "c": 0.22729,
    "h": 273.4
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#3228C5
secondary
#C9CE7A
accent
#E93FDE
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #3228C5

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

Preview Lab → · Contrast checker → · Palette generator →

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