#3228B5#3228B5

#3228B5 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.2% C 0.209 H 274.7°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#3228B5
RGBrgb(50, 40, 181)
HSLhsl(244, 64%, 43%)
HSVhsv(244, 78%, 71%)
CMYKcmyk(72.4%, 77.9%, 0%, 29%)
CIE-LABlab(28.20, 48.74, -71.91)
CIE-LCHlch(28.20, 86.87, 304.13°)
OKLaboklab(40.23% 0.0171 -0.208)
OKLCHoklch(40.23% 0.209 274.7)
XYZxyz(10.4119, 5.5309, 44.2259)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228B5 #ABB528
analogous
#2864B5 #3228B5 #7828B5
triadic
#3228B5 #B53228 #28B532
tetradic
#3228B5 #B52864 #ABB528 #28B578
square
#3228B5 #B52864 #ABB528 #28B578
split-complementary
#3228B5 #B57828 #64B528
monochromatic
#161251 #241D83 #3228B5 #4F44D6 #7E77E1

Accessibility & contrast

On white

9.97
#3228B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3228B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3228B5
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228B5#FFFFFF#000000##FFFFFF
##3228B51.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B9
Deuteranopia (green-blind)
#003CB3
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3228b5;
/* rgb */ color: rgb(50, 40, 181);
/* oklch */ color: oklch(40.2% 0.209 274.7);
Tailwind
colors: {
  custom: {
    50: '#7f65cd',
    500: '#3228b5',
    950: '#000000',
  },
}
SCSS
$custom: #3228b5;
$custom-light: #7f65cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3228b5",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 244.255,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40228,
    "c": 0.20869,
    "h": 274.7
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#3228B5
secondary
#C2C870
accent
#E741DB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3228B5

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

Preview Lab → · Contrast checker → · Palette generator →

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