#3228BD#3228BD

#3228BD is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.1% C 0.218 H 274.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#3228BD
RGBrgb(50, 40, 189)
HSLhsl(244, 65%, 45%)
HSVhsv(244, 79%, 74%)
CMYKcmyk(73.5%, 78.8%, 0%, 25.9%)
CIE-LABlab(29.08, 51.24, -75.20)
CIE-LCHlch(29.08, 91.00, 304.27°)
OKLaboklab(41.1% 0.0153 -0.2175)
OKLCHoklch(41.1% 0.218 274)
XYZxyz(11.2564, 5.8687, 48.6738)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228BD #B3BD28
analogous
#2868BD #3228BD #7D28BD
triadic
#3228BD #BD3228 #28BD32
tetradic
#3228BD #BD2868 #B3BD28 #28BD7D
square
#3228BD #BD2868 #B3BD28 #28BD7D
split-complementary
#3228BD #BD7D28 #68BD28
monochromatic
#171358 #251D8A #3228BD #534AD9 #837CE3

Accessibility & contrast

On white

9.66
#3228BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3228BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3228BD
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228BD#FFFFFF#000000##FFFFFF
##3228BD1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#003DBA
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3228bd;
/* rgb */ color: rgb(50, 40, 189);
/* oklch */ color: oklch(41.1% 0.218 274.0);
Tailwind
colors: {
  custom: {
    50: '#8166d2',
    500: '#3228bd',
    950: '#000000',
  },
}
SCSS
$custom: #3228bd;
$custom-light: #8166d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3228bd",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 244.027,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41103,
    "c": 0.21806,
    "h": 274
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#3228BD
secondary
#C6CB75
accent
#E840DD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3228BD

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

Preview Lab → · Contrast checker → · Palette generator →

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