#3C28B0#3C28B0

#3C28B0 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.4% C 0.201 H 279.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3C28B0
RGBrgb(60, 40, 176)
HSLhsl(249, 63%, 42%)
HSVhsv(249, 77%, 69%)
CMYKcmyk(65.9%, 77.3%, 0%, 31%)
CIE-LABlab(28.41, 48.15, -68.55)
CIE-LCHlch(28.41, 83.77, 305.08°)
OKLaboklab(40.41% 0.032 -0.1979)
OKLCHoklch(40.41% 0.201 279.2)
XYZxyz(10.4562, 5.6120, 41.5981)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C28B0 #9CB028
analogous
#2858B0 #3C28B0 #8028B0
triadic
#3C28B0 #B03C28 #28B03C
tetradic
#3C28B0 #B02858 #9CB028 #28B080
square
#3C28B0 #B02858 #9CB028 #28B080
split-complementary
#3C28B0 #B08028 #58B028
monochromatic
#1A114C #2B1D7E #3C28B0 #5741D4 #8373DF

Accessibility & contrast

On white

9.89
#3C28B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3C28B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C28B0
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C28B0#FFFFFF#000000##FFFFFF
##3C28B01.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3c28b0;
/* rgb */ color: rgb(60, 40, 176);
/* oklch */ color: oklch(40.4% 0.201 279.2);
Tailwind
colors: {
  custom: {
    50: '#8265c9',
    500: '#3c28b0',
    950: '#000000',
  },
}
SCSS
$custom: #3c28b0;
$custom-light: #8265c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c28b0",
  "rgb": {
    "r": 60,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 248.824,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40412,
    "c": 0.2005,
    "h": 279.2
  },
  "luminance": 0.05613
}

Semantic roles & 50–950 ramp

primary
#3C28B0
secondary
#B9C66D
accent
#E642CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C28B0

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

Preview Lab → · Contrast checker → · Palette generator →

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