#3228B9#3228B9

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

Color values

HEX#3228B9
RGBrgb(50, 40, 185)
HSLhsl(244, 64%, 44%)
HSVhsv(244, 78%, 73%)
CMYKcmyk(73%, 78.4%, 0%, 27.5%)
CIE-LABlab(28.64, 49.99, -73.57)
CIE-LCHlch(28.64, 88.94, 304.20°)
OKLaboklab(40.66% 0.0162 -0.2128)
OKLCHoklch(40.66% 0.213 274.4)
XYZxyz(10.8282, 5.6974, 46.4186)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228B9 #AFB928
analogous
#2867B9 #3228B9 #7B28B9
triadic
#3228B9 #B93228 #28B932
tetradic
#3228B9 #B92867 #AFB928 #28B97B
square
#3228B9 #B92867 #AFB928 #28B97B
split-complementary
#3228B9 #B97B28 #67B928
monochromatic
#171254 #241D87 #3228B9 #5147D7 #8179E2

Accessibility & contrast

On white

9.81
#3228B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3228B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3228B9
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228B9#FFFFFF#000000##FFFFFF
##3228B91.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABD
Deuteranopia (green-blind)
#003DB6
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3228b9;
/* rgb */ color: rgb(50, 40, 185);
/* oklch */ color: oklch(40.7% 0.213 274.4);
Tailwind
colors: {
  custom: {
    50: '#8065cf',
    500: '#3228b9',
    950: '#000000',
  },
}
SCSS
$custom: #3228b9;
$custom-light: #8065cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3228b9",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 185
  },
  "hsl": {
    "h": 244.138,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40664,
    "c": 0.2134,
    "h": 274.4
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#3228B9
secondary
#C4CA73
accent
#E740DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3228B9

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

Preview Lab → · Contrast checker → · Palette generator →

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