#3228B4#3228B4

#3228B4 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.1% C 0.208 H 274.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#3228B4
RGBrgb(50, 40, 180)
HSLhsl(244, 64%, 43%)
HSVhsv(244, 78%, 71%)
CMYKcmyk(72.2%, 77.8%, 0%, 29.4%)
CIE-LABlab(28.09, 48.42, -71.50)
CIE-LCHlch(28.09, 86.35, 304.11°)
OKLaboklab(40.12% 0.0174 -0.2068)
OKLCHoklch(40.12% 0.208 274.8)
XYZxyz(10.3097, 5.4900, 43.6875)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228B4 #AAB428
analogous
#2864B4 #3228B4 #7828B4
triadic
#3228B4 #B43228 #28B432
tetradic
#3228B4 #B42864 #AAB428 #28B478
square
#3228B4 #B42864 #AAB428 #28B478
split-complementary
#3228B4 #B47828 #64B428
monochromatic
#161250 #241D82 #3228B4 #4E44D5 #7D76E1

Accessibility & contrast

On white

10.01
#3228B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3228B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3228B4
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228B4#FFFFFF#000000##FFFFFF
##3228B41.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3228b4;
/* rgb */ color: rgb(50, 40, 180);
/* oklch */ color: oklch(40.1% 0.208 274.8);
Tailwind
colors: {
  custom: {
    50: '#7e65cc',
    500: '#3228b4',
    950: '#000000',
  },
}
SCSS
$custom: #3228b4;
$custom-light: #7e65cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3228b4",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 180
  },
  "hsl": {
    "h": 244.286,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40119,
    "c": 0.20751,
    "h": 274.8
  },
  "luminance": 0.05491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3228B4

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

Preview Lab → · Contrast checker → · Palette generator →

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