#3C28A9#3C28A9

#3C28A9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.7% C 0.192 H 280.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#3C28A9
RGBrgb(60, 40, 169)
HSLhsl(249, 62%, 41%)
HSVhsv(249, 76%, 66%)
CMYKcmyk(64.5%, 76.3%, 0%, 33.7%)
CIE-LABlab(27.69, 46.00, -65.54)
CIE-LCHlch(27.69, 80.07, 305.06°)
OKLaboklab(39.69% 0.0337 -0.1892)
OKLCHoklch(39.69% 0.192 280.1)
XYZxyz(9.7814, 5.3421, 38.0441)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C28A9 #95A928
analogous
#2855A9 #3C28A9 #7C28A9
triadic
#3C28A9 #A93C28 #28A93C
tetradic
#3C28A9 #A92855 #95A928 #28A97C
square
#3C28A9 #A92855 #95A928 #28A97C
split-complementary
#3C28A9 #A97C28 #55A928
monochromatic
#191146 #2A1C78 #3C28A9 #543DD1 #806FDD

Accessibility & contrast

On white

10.15
#3C28A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3C28A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C28A9
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C28A9#FFFFFF#000000##FFFFFF
##3C28A91.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3c28a9;
/* rgb */ color: rgb(60, 40, 169);
/* oklch */ color: oklch(39.7% 0.192 280.1);
Tailwind
colors: {
  custom: {
    50: '#8065c4',
    500: '#3c28a9',
    950: '#000000',
  },
}
SCSS
$custom: #3c28a9;
$custom-light: #8065c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c28a9",
  "rgb": {
    "r": 60,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 249.302,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39689,
    "c": 0.19215,
    "h": 280.1
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#3C28A9
secondary
#B6C469
accent
#E543CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C28A9

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

Preview Lab → · Contrast checker → · Palette generator →

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