#3C28B7#3C28B7

#3C28B7 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.1% C 0.209 H 278.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#3C28B7
RGBrgb(60, 40, 183)
HSLhsl(248, 64%, 44%)
HSVhsv(248, 78%, 72%)
CMYKcmyk(67.2%, 78.1%, 0%, 28.2%)
CIE-LABlab(29.15, 50.28, -71.51)
CIE-LCHlch(29.15, 87.41, 305.11°)
OKLaboklab(41.15% 0.0301 -0.2065)
OKLCHoklch(41.15% 0.209 278.3)
XYZxyz(11.1668, 5.8962, 45.3402)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C28B7 #A3B728
analogous
#285BB7 #3C28B7 #8328B7
triadic
#3C28B7 #B73C28 #28B73C
tetradic
#3C28B7 #B7285B #A3B728 #28B783
square
#3C28B7 #B7285B #A3B728 #28B783
split-complementary
#3C28B7 #B78328 #5BB728
monochromatic
#1B1253 #2C1D85 #3C28B7 #5A46D6 #8778E1

Accessibility & contrast

On white

9.64
#3C28B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3C28B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C28B7
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C28B7#FFFFFF#000000##FFFFFF
##3C28B71.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABB
Deuteranopia (green-blind)
#003FB4
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3c28b7;
/* rgb */ color: rgb(60, 40, 183);
/* oklch */ color: oklch(41.1% 0.209 278.3);
Tailwind
colors: {
  custom: {
    50: '#8366ce',
    500: '#3c28b7',
    950: '#000000',
  },
}
SCSS
$custom: #3c28b7;
$custom-light: #8366ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3c28b7",
  "rgb": {
    "r": 60,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 248.392,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41147,
    "c": 0.20873,
    "h": 278.3
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#3C28B7
secondary
#BDC972
accent
#E741D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3C28B7

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

Preview Lab → · Contrast checker → · Palette generator →

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