#3228B1#3228B1

#3228B1 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.8% C 0.204 H 275.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#3228B1
RGBrgb(50, 40, 177)
HSLhsl(244, 63%, 43%)
HSVhsv(244, 77%, 69%)
CMYKcmyk(71.8%, 77.4%, 0%, 30.6%)
CIE-LABlab(27.76, 47.47, -70.25)
CIE-LCHlch(27.76, 84.78, 304.05°)
OKLaboklab(39.79% 0.0181 -0.2031)
OKLCHoklch(39.79% 0.204 275.1)
XYZxyz(10.0074, 5.3691, 42.0954)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228B1 #A7B128
analogous
#2862B1 #3228B1 #7728B1
triadic
#3228B1 #B13228 #28B132
tetradic
#3228B1 #B12862 #A7B128 #28B177
square
#3228B1 #B12862 #A7B128 #28B177
split-complementary
#3228B1 #B17728 #62B128
monochromatic
#16114D #241D7F #3228B1 #4D42D4 #7C74E0

Accessibility & contrast

On white

10.13
#3228B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3228B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3228B1
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228B1#FFFFFF#000000##FFFFFF
##3228B11.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3228b1;
/* rgb */ color: rgb(50, 40, 177);
/* oklch */ color: oklch(39.8% 0.204 275.1);
Tailwind
colors: {
  custom: {
    50: '#7e65ca',
    500: '#3228b1',
    950: '#000000',
  },
}
SCSS
$custom: #3228b1;
$custom-light: #7e65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3228b1",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 244.38,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39794,
    "c": 0.20394,
    "h": 275.1
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#3228B1
secondary
#C0C76E
accent
#E642DA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3228B1

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

Preview Lab → · Contrast checker → · Palette generator →

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