#3A28BC#3A28BC

#3A28BC is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.5% C 0.215 H 277.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#3A28BC
RGBrgb(58, 40, 188)
HSLhsl(247, 65%, 45%)
HSVhsv(247, 79%, 74%)
CMYKcmyk(69.1%, 78.7%, 0%, 26.3%)
CIE-LABlab(29.53, 51.60, -73.85)
CIE-LCHlch(29.53, 90.09, 304.95°)
OKLaboklab(41.53% 0.026 -0.2134)
OKLCHoklch(41.53% 0.215 277)
XYZxyz(11.5779, 6.0469, 48.1242)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A28BC #AABC28
analogous
#2860BC #3A28BC #8428BC
triadic
#3A28BC #BC3A28 #28BC3A
tetradic
#3A28BC #BC2860 #AABC28 #28BC84
square
#3A28BC #BC2860 #AABC28 #28BC84
split-complementary
#3A28BC #BC8428 #60BC28
monochromatic
#1B1357 #2A1D8A #3A28BC #5A49D8 #887BE3

Accessibility & contrast

On white

9.50
#3A28BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3A28BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A28BC
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A28BC#FFFFFF#000000##FFFFFF
##3A28BC1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#003FB9
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a28bc;
/* rgb */ color: rgb(58, 40, 188);
/* oklch */ color: oklch(41.5% 0.215 277.0);
Tailwind
colors: {
  custom: {
    50: '#8366d2',
    500: '#3a28bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a28bc;
$custom-light: #8366d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a28bc",
  "rgb": {
    "r": 58,
    "g": 40,
    "b": 188
  },
  "hsl": {
    "h": 247.297,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41532,
    "c": 0.21499,
    "h": 277
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#3A28BC
secondary
#C1CB75
accent
#E840D3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3A28BC

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

Preview Lab → · Contrast checker → · Palette generator →

#3A28BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva