#3C28AE#3C28AE

#3C28AE is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.2% C 0.198 H 279.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#3C28AE
RGBrgb(60, 40, 174)
HSLhsl(249, 63%, 42%)
HSVhsv(249, 77%, 68%)
CMYKcmyk(65.5%, 77%, 0%, 31.8%)
CIE-LABlab(28.20, 47.54, -67.70)
CIE-LCHlch(28.20, 82.72, 305.08°)
OKLaboklab(40.2% 0.0325 -0.1955)
OKLCHoklch(40.2% 0.198 279.4)
XYZxyz(10.2598, 5.5334, 40.5636)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C28AE #9AAE28
analogous
#2857AE #3C28AE #7F28AE
triadic
#3C28AE #AE3C28 #28AE3C
tetradic
#3C28AE #AE2857 #9AAE28 #28AE7F
square
#3C28AE #AE2857 #9AAE28 #28AE7F
split-complementary
#3C28AE #AE7F28 #57AE28
monochromatic
#1A114A #2B1D7C #3C28AE #5640D3 #8272DF

Accessibility & contrast

On white

9.97
#3C28AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3C28AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C28AE
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C28AE#FFFFFF#000000##FFFFFF
##3C28AE1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3c28ae;
/* rgb */ color: rgb(60, 40, 174);
/* oklch */ color: oklch(40.2% 0.198 279.4);
Tailwind
colors: {
  custom: {
    50: '#8165c7',
    500: '#3c28ae',
    950: '#000000',
  },
}
SCSS
$custom: #3c28ae;
$custom-light: #8165c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c28ae",
  "rgb": {
    "r": 60,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 248.955,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40204,
    "c": 0.19814,
    "h": 279.4
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#3C28AE
secondary
#B8C66C
accent
#E642CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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