#3228B8#3228B8

#3228B8 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.212 H 274.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#3228B8
RGBrgb(50, 40, 184)
HSLhsl(244, 64%, 44%)
HSVhsv(244, 78%, 72%)
CMYKcmyk(72.8%, 78.3%, 0%, 27.8%)
CIE-LABlab(28.53, 49.68, -73.16)
CIE-LCHlch(28.53, 88.43, 304.18°)
OKLaboklab(40.56% 0.0164 -0.2116)
OKLCHoklch(40.56% 0.212 274.4)
XYZxyz(10.7230, 5.6553, 45.8646)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228B8 #AEB828
analogous
#2866B8 #3228B8 #7A28B8
triadic
#3228B8 #B83228 #28B832
tetradic
#3228B8 #B82866 #AEB828 #28B87A
square
#3228B8 #B82866 #AEB828 #28B87A
split-complementary
#3228B8 #B87A28 #66B828
monochromatic
#171253 #241D86 #3228B8 #5046D7 #8079E2

Accessibility & contrast

On white

9.85
#3228B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3228B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3228B8
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228B8#FFFFFF#000000##FFFFFF
##3228B81.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABC
Deuteranopia (green-blind)
#003DB6
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3228b8;
/* rgb */ color: rgb(50, 40, 184);
/* oklch */ color: oklch(40.6% 0.212 274.4);
Tailwind
colors: {
  custom: {
    50: '#7f65cf',
    500: '#3228b8',
    950: '#000000',
  },
}
SCSS
$custom: #3228b8;
$custom-light: #7f65cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3228b8",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 184
  },
  "hsl": {
    "h": 244.167,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40555,
    "c": 0.21223,
    "h": 274.4
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#3228B8
secondary
#C4CA72
accent
#E741DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3228B8

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

Preview Lab → · Contrast checker → · Palette generator →

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