#3228BB#3228BB

#3228BB is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.9% C 0.216 H 274.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#3228BB
RGBrgb(50, 40, 187)
HSLhsl(244, 65%, 45%)
HSVhsv(244, 79%, 73%)
CMYKcmyk(73.3%, 78.6%, 0%, 26.7%)
CIE-LABlab(28.86, 50.62, -74.39)
CIE-LCHlch(28.86, 89.97, 304.23°)
OKLaboklab(40.88% 0.0157 -0.2152)
OKLCHoklch(40.88% 0.216 274.2)
XYZxyz(11.0408, 5.7824, 47.5383)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228BB #B1BB28
analogous
#2867BB #3228BB #7C28BB
triadic
#3228BB #BB3228 #28BB32
tetradic
#3228BB #BB2867 #B1BB28 #28BB7C
square
#3228BB #BB2867 #B1BB28 #28BB7C
split-complementary
#3228BB #BB7C28 #67BB28
monochromatic
#171256 #251D89 #3228BB #5248D8 #827BE3

Accessibility & contrast

On white

9.74
#3228BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3228BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3228BB
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228BB#FFFFFF#000000##FFFFFF
##3228BB1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBF
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3228bb;
/* rgb */ color: rgb(50, 40, 187);
/* oklch */ color: oklch(40.9% 0.216 274.2);
Tailwind
colors: {
  custom: {
    50: '#8065d1',
    500: '#3228bb',
    950: '#000000',
  },
}
SCSS
$custom: #3228bb;
$custom-light: #8065d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3228bb",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 187
  },
  "hsl": {
    "h": 244.082,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40883,
    "c": 0.21573,
    "h": 274.2
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3228BB

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

Preview Lab → · Contrast checker → · Palette generator →

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