#3B28BC#3B28BC

#3B28BC is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.6% C 0.215 H 277.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#3B28BC
RGBrgb(59, 40, 188)
HSLhsl(248, 65%, 45%)
HSVhsv(248, 79%, 74%)
CMYKcmyk(68.6%, 78.7%, 0%, 26.3%)
CIE-LABlab(29.61, 51.70, -73.72)
CIE-LCHlch(29.61, 90.04, 305.04°)
OKLaboklab(41.61% 0.0274 -0.213)
OKLCHoklch(41.61% 0.215 277.3)
XYZxyz(11.6366, 6.0772, 48.1270)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B28BC #A9BC28
analogous
#285FBC #3B28BC #8528BC
triadic
#3B28BC #BC3B28 #28BC3B
tetradic
#3B28BC #BC285F #A9BC28 #28BC85
square
#3B28BC #BC285F #A9BC28 #28BC85
split-complementary
#3B28BC #BC8528 #5FBC28
monochromatic
#1B1357 #2B1D8A #3B28BC #5B49D8 #897BE3

Accessibility & contrast

On white

9.48
#3B28BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3B28BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B28BC
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B28BC#FFFFFF#000000##FFFFFF
##3B28BC1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.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: #3b28bc;
/* rgb */ color: rgb(59, 40, 188);
/* oklch */ color: oklch(41.6% 0.215 277.3);
Tailwind
colors: {
  custom: {
    50: '#8466d2',
    500: '#3b28bc',
    950: '#000000',
  },
}
SCSS
$custom: #3b28bc;
$custom-light: #8466d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b28bc",
  "rgb": {
    "r": 59,
    "g": 40,
    "b": 188
  },
  "hsl": {
    "h": 247.703,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41605,
    "c": 0.21477,
    "h": 277.3
  },
  "luminance": 0.06078
}

Semantic roles & 50–950 ramp

primary
#3B28BC
secondary
#C0CB75
accent
#E840D2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3B28BC

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

Preview Lab → · Contrast checker → · Palette generator →

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