#3228CC#3228CC

#3228CC is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.8% C 0.235 H 272.9°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#3228CC
RGBrgb(50, 40, 204)
HSLhsl(244, 67%, 48%)
HSVhsv(244, 80%, 80%)
CMYKcmyk(75.5%, 80.4%, 0%, 20%)
CIE-LABlab(30.77, 55.82, -81.21)
CIE-LCHlch(30.77, 98.54, 304.51°)
OKLaboklab(42.77% 0.0117 -0.2349)
OKLCHoklch(42.77% 0.235 272.9)
XYZxyz(12.9696, 6.5539, 57.6965)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228CC #C2CC28
analogous
#2870CC #3228CC #8428CC
triadic
#3228CC #CC3228 #28CC32
tetradic
#3228CC #CC2870 #C2CC28 #28CC84
square
#3228CC #CC2870 #C2CC28 #28CC84
split-complementary
#3228CC #CC8428 #70CC28
monochromatic
#191466 #251E99 #3228CC #5C54DD #8D87E7

Accessibility & contrast

On white

9.09
#3228CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3228CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3228CC
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228CC#FFFFFF#000000##FFFFFF
##3228CC1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050D0
Deuteranopia (green-blind)
#0040C9
Tritanopia (blue-blind)
#005C7B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3228cc;
/* rgb */ color: rgb(50, 40, 204);
/* oklch */ color: oklch(42.8% 0.235 272.9);
Tailwind
colors: {
  custom: {
    50: '#8467dd',
    500: '#3228cc',
    950: '#000000',
  },
}
SCSS
$custom: #3228cc;
$custom-light: #8467dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3228cc",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 204
  },
  "hsl": {
    "h": 243.659,
    "s": 67.213,
    "l": 47.843
  },
  "oklch": {
    "l": 0.42772,
    "c": 0.23524,
    "h": 272.9
  },
  "luminance": 0.06555
}

Semantic roles & 50–950 ramp

primary
#3228CC
secondary
#CCD17F
accent
#EA3EE0
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3228CC

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

Preview Lab → · Contrast checker → · Palette generator →

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