#3228CD#3228CD

#3228CD is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.9% C 0.236 H 272.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#3228CD
RGBrgb(50, 40, 205)
HSLhsl(244, 67%, 48%)
HSVhsv(244, 80%, 80%)
CMYKcmyk(75.6%, 80.5%, 0%, 19.6%)
CIE-LABlab(30.88, 56.12, -81.60)
CIE-LCHlch(30.88, 99.04, 304.52°)
OKLaboklab(42.89% 0.0115 -0.2361)
OKLCHoklch(42.89% 0.236 272.8)
XYZxyz(13.0899, 6.6021, 58.3302)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3228CD #C3CD28
analogous
#2871CD #3228CD #8428CD
triadic
#3228CD #CD3228 #28CD32
tetradic
#3228CD #CD2871 #C3CD28 #28CD84
square
#3228CD #CD2871 #C3CD28 #28CD84
split-complementary
#3228CD #CD8428 #71CD28
monochromatic
#191467 #261E9A #3228CD #5D54DE #8E88E8

Accessibility & contrast

On white

9.05
#3228CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3228CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3228CD
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3228CD#FFFFFF#000000##FFFFFF
##3228CD1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050D2
Deuteranopia (green-blind)
#0041CA
Tritanopia (blue-blind)
#005C7C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3228cd;
/* rgb */ color: rgb(50, 40, 205);
/* oklch */ color: oklch(42.9% 0.236 272.8);
Tailwind
colors: {
  custom: {
    50: '#8467de',
    500: '#3228cd',
    950: '#000000',
  },
}
SCSS
$custom: #3228cd;
$custom-light: #8467de;
$custom-dark: #000000;
JSON
{
  "hex": "#3228cd",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 205
  },
  "hsl": {
    "h": 243.636,
    "s": 67.347,
    "l": 48.039
  },
  "oklch": {
    "l": 0.42885,
    "c": 0.23637,
    "h": 272.8
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3228CD

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

Preview Lab → · Contrast checker → · Palette generator →

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