#3228B2#3228B2

#3228B2 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.9% C 0.205 H 275.0°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#3228B2
RGBrgb(50, 40, 178)
HSLhsl(244, 63%, 43%)
HSVhsv(244, 78%, 70%)
CMYKcmyk(71.9%, 77.5%, 0%, 30.2%)
CIE-LABlab(27.87, 47.79, -70.67)
CIE-LCHlch(27.87, 85.31, 304.07°)
OKLaboklab(39.9% 0.0178 -0.2044)
OKLCHoklch(39.9% 0.205 275)
XYZxyz(10.1074, 5.4091, 42.6222)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228B2 #A8B228
analogous
#2863B2 #3228B2 #7728B2
triadic
#3228B2 #B23228 #28B232
tetradic
#3228B2 #B22863 #A8B228 #28B277
square
#3228B2 #B22863 #A8B228 #28B277
split-complementary
#3228B2 #B27728 #63B228
monochromatic
#16124E #241D80 #3228B2 #4D43D5 #7C75E0

Accessibility & contrast

On white

10.09
#3228B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3228B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3228B2
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228B2#FFFFFF#000000##FFFFFF
##3228B21.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003BB0
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3228b2;
/* rgb */ color: rgb(50, 40, 178);
/* oklch */ color: oklch(39.9% 0.205 275.0);
Tailwind
colors: {
  custom: {
    50: '#7e65ca',
    500: '#3228b2',
    950: '#000000',
  },
}
SCSS
$custom: #3228b2;
$custom-light: #7e65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3228b2",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 244.348,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39902,
    "c": 0.20514,
    "h": 275
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

primary
#3228B2
secondary
#C1C76F
accent
#E641DA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3228B2

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

Preview Lab → · Contrast checker → · Palette generator →

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