#3C28B1#3C28B1

#3C28B1 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.202 H 279.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#3C28B1
RGBrgb(60, 40, 177)
HSLhsl(249, 63%, 43%)
HSVhsv(249, 77%, 69%)
CMYKcmyk(66.1%, 77.4%, 0%, 30.6%)
CIE-LABlab(28.52, 48.45, -68.98)
CIE-LCHlch(28.52, 84.29, 305.09°)
OKLaboklab(40.52% 0.0317 -0.1992)
OKLCHoklch(40.52% 0.202 279)
XYZxyz(10.5555, 5.6517, 42.1211)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C28B1 #9DB128
analogous
#2859B1 #3C28B1 #8028B1
triadic
#3C28B1 #B13C28 #28B13C
tetradic
#3C28B1 #B12859 #9DB128 #28B180
square
#3C28B1 #B12859 #9DB128 #28B180
split-complementary
#3C28B1 #B18028 #59B128
monochromatic
#1A114D #2B1D7F #3C28B1 #5742D4 #8474E0

Accessibility & contrast

On white

9.86
#3C28B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3C28B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C28B1
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C28B1#FFFFFF#000000##FFFFFF
##3C28B11.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3c28b1;
/* rgb */ color: rgb(60, 40, 177);
/* oklch */ color: oklch(40.5% 0.202 279.0);
Tailwind
colors: {
  custom: {
    50: '#8265ca',
    500: '#3c28b1',
    950: '#000000',
  },
}
SCSS
$custom: #3c28b1;
$custom-light: #8265ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3c28b1",
  "rgb": {
    "r": 60,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 248.759,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40517,
    "c": 0.20169,
    "h": 279
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#3C28B1
secondary
#BAC76E
accent
#E642CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C28B1

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

Preview Lab → · Contrast checker → · Palette generator →

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