#3228B3#3228B3

#3228B3 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.0% C 0.206 H 274.9°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#3228B3
RGBrgb(50, 40, 179)
HSLhsl(244, 63%, 43%)
HSVhsv(244, 78%, 70%)
CMYKcmyk(72.1%, 77.7%, 0%, 29.8%)
CIE-LABlab(27.98, 48.11, -71.08)
CIE-LCHlch(27.98, 85.83, 304.09°)
OKLaboklab(40.01% 0.0176 -0.2056)
OKLCHoklch(40.01% 0.206 274.9)
XYZxyz(10.2082, 5.4494, 43.1529)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228B3 #A9B328
analogous
#2863B3 #3228B3 #7828B3
triadic
#3228B3 #B33228 #28B332
tetradic
#3228B3 #B32863 #A9B328 #28B378
square
#3228B3 #B32863 #A9B328 #28B378
split-complementary
#3228B3 #B37828 #63B328
monochromatic
#16124F #241D81 #3228B3 #4E43D5 #7D75E0

Accessibility & contrast

On white

10.05
#3228B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3228B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3228B3
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228B3#FFFFFF#000000##FFFFFF
##3228B31.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3228b3;
/* rgb */ color: rgb(50, 40, 179);
/* oklch */ color: oklch(40.0% 0.206 274.9);
Tailwind
colors: {
  custom: {
    50: '#7e65cb',
    500: '#3228b3',
    950: '#000000',
  },
}
SCSS
$custom: #3228b3;
$custom-light: #7e65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3228b3",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 244.317,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4001,
    "c": 0.20632,
    "h": 274.9
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#3228B3
secondary
#C1C86F
accent
#E641DB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3228B3

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

Preview Lab → · Contrast checker → · Palette generator →

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