#3228BA#3228BA

#3228BA is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.8% C 0.215 H 274.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#3228BA
RGBrgb(50, 40, 186)
HSLhsl(244, 65%, 44%)
HSVhsv(244, 78%, 73%)
CMYKcmyk(73.1%, 78.5%, 0%, 27.1%)
CIE-LABlab(28.75, 50.30, -73.98)
CIE-LCHlch(28.75, 89.46, 304.22°)
OKLaboklab(40.77% 0.016 -0.214)
OKLCHoklch(40.77% 0.215 274.3)
XYZxyz(10.9342, 5.7398, 46.9765)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228BA #B0BA28
analogous
#2867BA #3228BA #7B28BA
triadic
#3228BA #BA3228 #28BA32
tetradic
#3228BA #BA2867 #B0BA28 #28BA7B
square
#3228BA #BA2867 #B0BA28 #28BA7B
split-complementary
#3228BA #BA7B28 #67BA28
monochromatic
#171255 #241D88 #3228BA #5148D8 #817AE2

Accessibility & contrast

On white

9.78
#3228BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3228BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3228BA
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228BA#FFFFFF#000000##FFFFFF
##3228BA1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABE
Deuteranopia (green-blind)
#003DB7
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3228ba;
/* rgb */ color: rgb(50, 40, 186);
/* oklch */ color: oklch(40.8% 0.215 274.3);
Tailwind
colors: {
  custom: {
    50: '#8065d0',
    500: '#3228ba',
    950: '#000000',
  },
}
SCSS
$custom: #3228ba;
$custom-light: #8065d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3228ba",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 244.11,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40774,
    "c": 0.21457,
    "h": 274.3
  },
  "luminance": 0.05741
}

Semantic roles & 50–950 ramp

primary
#3228BA
secondary
#C4CA73
accent
#E840DC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3228BA

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

Preview Lab → · Contrast checker → · Palette generator →

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