#3C28C7#3C28C7

#3C28C7 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.9% C 0.227 H 276.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#3C28C7
RGBrgb(60, 40, 199)
HSLhsl(248, 67%, 47%)
HSVhsv(248, 80%, 78%)
CMYKcmyk(69.8%, 79.9%, 0%, 22%)
CIE-LABlab(30.88, 55.07, -78.08)
CIE-LCHlch(30.88, 95.55, 305.19°)
OKLaboklab(42.86% 0.0258 -0.2257)
OKLCHoklch(42.86% 0.227 276.5)
XYZxyz(12.9277, 6.6006, 54.6145)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C28C7 #B3C728
analogous
#2864C7 #3C28C7 #8C28C7
triadic
#3C28C7 #C73C28 #28C73C
tetradic
#3C28C7 #C72864 #B3C728 #28C78C
square
#3C28C7 #C72864 #B3C728 #28C78C
split-complementary
#3C28C7 #C78C28 #64C728
monochromatic
#1D1461 #2D1E94 #3C28C7 #6250DC #9083E6

Accessibility & contrast

On white

9.05
#3C28C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3C28C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C28C7
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C28C7#FFFFFF#000000##FFFFFF
##3C28C71.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCB
Deuteranopia (green-blind)
#0042C4
Tritanopia (blue-blind)
#005978
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3c28c7;
/* rgb */ color: rgb(60, 40, 199);
/* oklch */ color: oklch(42.9% 0.227 276.5);
Tailwind
colors: {
  custom: {
    50: '#8667d9',
    500: '#3c28c7',
    950: '#000000',
  },
}
SCSS
$custom: #3c28c7;
$custom-light: #8667d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c28c7",
  "rgb": {
    "r": 60,
    "g": 40,
    "b": 199
  },
  "hsl": {
    "h": 247.547,
    "s": 66.527,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42861,
    "c": 0.22714,
    "h": 276.5
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#3C28C7
secondary
#C5CF7C
accent
#E93ED4
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3C28C7

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

Preview Lab → · Contrast checker → · Palette generator →

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