#3B28C3#3B28C3

#3B28C3 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.4% C 0.223 H 276.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#3B28C3
RGBrgb(59, 40, 195)
HSLhsl(247, 66%, 46%)
HSVhsv(247, 79%, 76%)
CMYKcmyk(69.7%, 79.5%, 0%, 23.5%)
CIE-LABlab(30.37, 53.80, -76.59)
CIE-LCHlch(30.37, 93.59, 305.09°)
OKLaboklab(42.36% 0.0256 -0.2213)
OKLCHoklch(42.36% 0.223 276.6)
XYZxyz(12.4095, 6.3864, 52.1979)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B28C3 #B0C328
analogous
#2862C3 #3B28C3 #8828C3
triadic
#3B28C3 #C33B28 #28C33B
tetradic
#3B28C3 #C32862 #B0C328 #28C388
square
#3B28C3 #C32862 #B0C328 #28C388
split-complementary
#3B28C3 #C38828 #62C328
monochromatic
#1C135D #2C1E90 #3B28C3 #5F4EDB #8D80E5

Accessibility & contrast

On white

9.22
#3B28C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3B28C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B28C3
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B28C3#FFFFFF#000000##FFFFFF
##3B28C31.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC7
Deuteranopia (green-blind)
#0041C0
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3b28c3;
/* rgb */ color: rgb(59, 40, 195);
/* oklch */ color: oklch(42.4% 0.223 276.6);
Tailwind
colors: {
  custom: {
    50: '#8566d7',
    500: '#3b28c3',
    950: '#000000',
  },
}
SCSS
$custom: #3b28c3;
$custom-light: #8566d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b28c3",
  "rgb": {
    "r": 59,
    "g": 40,
    "b": 195
  },
  "hsl": {
    "h": 247.355,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42358,
    "c": 0.22282,
    "h": 276.6
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#3B28C3
secondary
#C3CE79
accent
#E93FD4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3B28C3

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

Preview Lab → · Contrast checker → · Palette generator →

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