#3C28BD#3C28BD

#3C28BD is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.216 H 277.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#3C28BD
RGBrgb(60, 40, 189)
HSLhsl(248, 65%, 45%)
HSVhsv(248, 79%, 74%)
CMYKcmyk(68.3%, 78.8%, 0%, 25.9%)
CIE-LABlab(29.79, 52.09, -74.00)
CIE-LCHlch(29.79, 90.50, 305.14°)
OKLaboklab(41.79% 0.0285 -0.2138)
OKLCHoklch(41.79% 0.216 277.6)
XYZxyz(11.8046, 6.1513, 48.6995)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C28BD #A9BD28
analogous
#285EBD #3C28BD #8728BD
triadic
#3C28BD #BD3C28 #28BD3C
tetradic
#3C28BD #BD285E #A9BD28 #28BD87
square
#3C28BD #BD285E #A9BD28 #28BD87
split-complementary
#3C28BD #BD8728 #5EBD28
monochromatic
#1C1358 #2C1D8A #3C28BD #5D4AD9 #8A7CE3

Accessibility & contrast

On white

9.42
#3C28BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3C28BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C28BD
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C28BD#FFFFFF#000000##FFFFFF
##3C28BD1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#0040BA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3c28bd;
/* rgb */ color: rgb(60, 40, 189);
/* oklch */ color: oklch(41.8% 0.216 277.6);
Tailwind
colors: {
  custom: {
    50: '#8466d2',
    500: '#3c28bd',
    950: '#000000',
  },
}
SCSS
$custom: #3c28bd;
$custom-light: #8466d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c28bd",
  "rgb": {
    "r": 60,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 248.054,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41785,
    "c": 0.21571,
    "h": 277.6
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#3C28BD
secondary
#C0CB75
accent
#E840D1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3C28BD

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

Preview Lab → · Contrast checker → · Palette generator →

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