#3228B7#3228B7

#3228B7 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.4% C 0.211 H 274.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3228B7
RGBrgb(50, 40, 183)
HSLhsl(244, 64%, 44%)
HSVhsv(244, 78%, 72%)
CMYKcmyk(72.7%, 78.1%, 0%, 28.2%)
CIE-LABlab(28.42, 49.37, -72.74)
CIE-LCHlch(28.42, 87.91, 304.16°)
OKLaboklab(40.45% 0.0167 -0.2104)
OKLCHoklch(40.45% 0.211 274.5)
XYZxyz(10.6186, 5.6135, 45.3145)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228B7 #ADB728
analogous
#2865B7 #3228B7 #7928B7
triadic
#3228B7 #B73228 #28B732
tetradic
#3228B7 #B72865 #ADB728 #28B779
square
#3228B7 #B72865 #ADB728 #28B779
split-complementary
#3228B7 #B77928 #65B728
monochromatic
#171253 #241D85 #3228B7 #5046D6 #7F78E1

Accessibility & contrast

On white

9.89
#3228B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3228B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3228B7
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228B7#FFFFFF#000000##FFFFFF
##3228B71.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BB
Deuteranopia (green-blind)
#003CB5
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3228b7;
/* rgb */ color: rgb(50, 40, 183);
/* oklch */ color: oklch(40.4% 0.211 274.5);
Tailwind
colors: {
  custom: {
    50: '#7f65ce',
    500: '#3228b7',
    950: '#000000',
  },
}
SCSS
$custom: #3228b7;
$custom-light: #7f65ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3228b7",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 244.196,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40445,
    "c": 0.21105,
    "h": 274.5
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3228B7

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

Preview Lab → · Contrast checker → · Palette generator →

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