#3C28BE#3C28BE

#3C28BE is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.9% C 0.217 H 277.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#3C28BE
RGBrgb(60, 40, 190)
HSLhsl(248, 65%, 45%)
HSVhsv(248, 79%, 75%)
CMYKcmyk(68.4%, 78.9%, 0%, 25.5%)
CIE-LABlab(29.90, 52.39, -74.41)
CIE-LCHlch(29.90, 91.00, 305.15°)
OKLaboklab(41.89% 0.0283 -0.215)
OKLCHoklch(41.89% 0.217 277.5)
XYZxyz(11.9135, 6.1949, 49.2731)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C28BE #AABE28
analogous
#285FBE #3C28BE #8728BE
triadic
#3C28BE #BE3C28 #28BE3C
tetradic
#3C28BE #BE285F #AABE28 #28BE87
square
#3C28BE #BE285F #AABE28 #28BE87
split-complementary
#3C28BE #BE8728 #5FBE28
monochromatic
#1C1359 #2C1D8B #3C28BE #5D4AD9 #8B7DE4

Accessibility & contrast

On white

9.38
#3C28BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3C28BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C28BE
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C28BE#FFFFFF#000000##FFFFFF
##3C28BE1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC2
Deuteranopia (green-blind)
#0040BB
Tritanopia (blue-blind)
#005673
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3c28be;
/* rgb */ color: rgb(60, 40, 190);
/* oklch */ color: oklch(41.9% 0.217 277.5);
Tailwind
colors: {
  custom: {
    50: '#8566d3',
    500: '#3c28be',
    950: '#000000',
  },
}
SCSS
$custom: #3c28be;
$custom-light: #8566d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c28be",
  "rgb": {
    "r": 60,
    "g": 40,
    "b": 190
  },
  "hsl": {
    "h": 248,
    "s": 65.217,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41892,
    "c": 0.21686,
    "h": 277.5
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#3C28BE
secondary
#C0CC76
accent
#E840D2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3C28BE

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

Preview Lab → · Contrast checker → · Palette generator →

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