#3228AE#3228AE

#3228AE is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.200 H 275.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#3228AE
RGBrgb(50, 40, 174)
HSLhsl(244, 63%, 42%)
HSVhsv(244, 77%, 68%)
CMYKcmyk(71.3%, 77%, 0%, 31.8%)
CIE-LABlab(27.44, 46.52, -68.99)
CIE-LCHlch(27.44, 83.21, 303.99°)
OKLaboklab(39.47% 0.0188 -0.1995)
OKLCHoklch(39.47% 0.2 275.4)
XYZxyz(9.7116, 5.2508, 40.5379)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228AE #A4AE28
analogous
#2861AE #3228AE #7528AE
triadic
#3228AE #AE3228 #28AE32
tetradic
#3228AE #AE2861 #A4AE28 #28AE75
square
#3228AE #AE2861 #A4AE28 #28AE75
split-complementary
#3228AE #AE7528 #61AE28
monochromatic
#15114A #241D7C #3228AE #4B40D3 #7A72DF

Accessibility & contrast

On white

10.24
#3228AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3228AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3228AE
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228AE#FFFFFF#000000##FFFFFF
##3228AE1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003BAC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3228ae;
/* rgb */ color: rgb(50, 40, 174);
/* oklch */ color: oklch(39.5% 0.200 275.4);
Tailwind
colors: {
  custom: {
    50: '#7d65c7',
    500: '#3228ae',
    950: '#000000',
  },
}
SCSS
$custom: #3228ae;
$custom-light: #7d65c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3228ae",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 244.478,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39471,
    "c": 0.20035,
    "h": 275.4
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

primary
#3228AE
secondary
#BFC66C
accent
#E642D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3228AE

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

Preview Lab → · Contrast checker → · Palette generator →

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