#3228AC#3228AC

#3228AC is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.198 H 275.6°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#3228AC
RGBrgb(50, 40, 172)
HSLhsl(245, 62%, 42%)
HSVhsv(245, 77%, 67%)
CMYKcmyk(70.9%, 76.7%, 0%, 32.5%)
CIE-LABlab(27.22, 45.88, -68.14)
CIE-LCHlch(27.22, 82.15, 303.95°)
OKLaboklab(39.26% 0.0192 -0.197)
OKLCHoklch(39.26% 0.198 275.6)
XYZxyz(9.5181, 5.1734, 39.5187)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228AC #A2AC28
analogous
#2860AC #3228AC #7428AC
triadic
#3228AC #AC3228 #28AC32
tetradic
#3228AC #AC2860 #A2AC28 #28AC74
square
#3228AC #AC2860 #A2AC28 #28AC74
split-complementary
#3228AC #AC7428 #60AC28
monochromatic
#151149 #241C7A #3228AC #4A3FD2 #7971DE

Accessibility & contrast

On white

10.32
#3228AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3228AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3228AC
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228AC#FFFFFF#000000##FFFFFF
##3228AC1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#003AAA
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3228ac;
/* rgb */ color: rgb(50, 40, 172);
/* oklch */ color: oklch(39.3% 0.198 275.6);
Tailwind
colors: {
  custom: {
    50: '#7d65c6',
    500: '#3228ac',
    950: '#000000',
  },
}
SCSS
$custom: #3228ac;
$custom-light: #7d65c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3228ac",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 244.545,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39257,
    "c": 0.19794,
    "h": 275.6
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

primary
#3228AC
secondary
#BEC56B
accent
#E542D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3228AC

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

Preview Lab → · Contrast checker → · Palette generator →

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