#3C28A8#3C28A8

#3C28A8 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.6% C 0.191 H 280.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#3C28A8
RGBrgb(60, 40, 168)
HSLhsl(249, 62%, 41%)
HSVhsv(249, 76%, 66%)
CMYKcmyk(64.3%, 76.2%, 0%, 34.1%)
CIE-LABlab(27.59, 45.69, -65.11)
CIE-LCHlch(27.59, 79.54, 305.06°)
OKLaboklab(39.59% 0.034 -0.1879)
OKLCHoklch(39.59% 0.191 280.3)
XYZxyz(9.6879, 5.3046, 37.5516)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C28A8 #94A828
analogous
#2854A8 #3C28A8 #7C28A8
triadic
#3C28A8 #A83C28 #28A83C
tetradic
#3C28A8 #A82854 #94A828 #28A87C
square
#3C28A8 #A82854 #94A828 #28A87C
split-complementary
#3C28A8 #A87C28 #54A828
monochromatic
#191045 #2A1C77 #3C28A8 #543DD1 #7F6EDC

Accessibility & contrast

On white

10.19
#3C28A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3C28A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C28A8
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C28A8#FFFFFF#000000##FFFFFF
##3C28A81.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3c28a8;
/* rgb */ color: rgb(60, 40, 168);
/* oklch */ color: oklch(39.6% 0.191 280.3);
Tailwind
colors: {
  custom: {
    50: '#8065c3',
    500: '#3c28a8',
    950: '#000000',
  },
}
SCSS
$custom: #3c28a8;
$custom-light: #8065c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c28a8",
  "rgb": {
    "r": 60,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 249.375,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39586,
    "c": 0.19096,
    "h": 280.3
  },
  "luminance": 0.05305
}

Semantic roles & 50–950 ramp

primary
#3C28A8
secondary
#B5C369
accent
#E543CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C28A8

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

Preview Lab → · Contrast checker → · Palette generator →

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