#3C28BA#3C28BA

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

Color values

HEX#3C28BA
RGBrgb(60, 40, 186)
HSLhsl(248, 65%, 44%)
HSVhsv(248, 78%, 73%)
CMYKcmyk(67.7%, 78.5%, 0%, 27.1%)
CIE-LABlab(29.47, 51.19, -72.76)
CIE-LCHlch(29.47, 88.96, 305.13°)
OKLaboklab(41.47% 0.0293 -0.2102)
OKLCHoklch(41.47% 0.212 277.9)
XYZxyz(11.4823, 6.0224, 47.0022)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C28BA #A6BA28
analogous
#285DBA #3C28BA #8528BA
triadic
#3C28BA #BA3C28 #28BA3C
tetradic
#3C28BA #BA285D #A6BA28 #28BA85
square
#3C28BA #BA285D #A6BA28 #28BA85
split-complementary
#3C28BA #BA8528 #5DBA28
monochromatic
#1C1255 #2C1D88 #3C28BA #5B48D8 #887AE2

Accessibility & contrast

On white

9.53
#3C28BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3C28BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C28BA
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C28BA#FFFFFF#000000##FFFFFF
##3C28BA1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3c28ba;
/* rgb */ color: rgb(60, 40, 186);
/* oklch */ color: oklch(41.5% 0.212 277.9);
Tailwind
colors: {
  custom: {
    50: '#8466d0',
    500: '#3c28ba',
    950: '#000000',
  },
}
SCSS
$custom: #3c28ba;
$custom-light: #8466d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c28ba",
  "rgb": {
    "r": 60,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 248.219,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41465,
    "c": 0.21224,
    "h": 277.9
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#3C28BA
secondary
#BECA73
accent
#E840D1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3C28BA

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

Preview Lab → · Contrast checker → · Palette generator →

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