#3228B0#3228B0

#3228B0 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.7% C 0.203 H 275.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#3228B0
RGBrgb(50, 40, 176)
HSLhsl(244, 63%, 42%)
HSVhsv(244, 77%, 69%)
CMYKcmyk(71.6%, 77.3%, 0%, 31%)
CIE-LABlab(27.65, 47.16, -69.83)
CIE-LCHlch(27.65, 84.26, 304.03°)
OKLaboklab(39.69% 0.0183 -0.2019)
OKLCHoklch(39.69% 0.203 275.2)
XYZxyz(9.9081, 5.3293, 41.5724)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228B0 #A6B028
analogous
#2862B0 #3228B0 #7628B0
triadic
#3228B0 #B03228 #28B032
tetradic
#3228B0 #B02862 #A6B028 #28B076
square
#3228B0 #B02862 #A6B028 #28B076
split-complementary
#3228B0 #B07628 #62B028
monochromatic
#16114C #241D7E #3228B0 #4C41D4 #7B73DF

Accessibility & contrast

On white

10.16
#3228B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3228B0
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228B0#FFFFFF#000000##FFFFFF
##3228B01.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B4
Deuteranopia (green-blind)
#003BAE
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3228b0;
/* rgb */ color: rgb(50, 40, 176);
/* oklch */ color: oklch(39.7% 0.203 275.2);
Tailwind
colors: {
  custom: {
    50: '#7e65c9',
    500: '#3228b0',
    950: '#000000',
  },
}
SCSS
$custom: #3228b0;
$custom-light: #7e65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3228b0",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 244.412,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39686,
    "c": 0.20275,
    "h": 275.2
  },
  "luminance": 0.0533
}

Semantic roles & 50–950 ramp

primary
#3228B0
secondary
#C0C66D
accent
#E642DA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3228B0

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

Preview Lab → · Contrast checker → · Palette generator →

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