#3C28AA#3C28AA

#3C28AA is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.8% C 0.193 H 280.0°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#3C28AA
RGBrgb(60, 40, 170)
HSLhsl(249, 62%, 41%)
HSVhsv(249, 76%, 67%)
CMYKcmyk(64.7%, 76.5%, 0%, 33.3%)
CIE-LABlab(27.79, 46.31, -65.98)
CIE-LCHlch(27.79, 80.61, 305.07°)
OKLaboklab(39.79% 0.0335 -0.1904)
OKLCHoklch(39.79% 0.193 280)
XYZxyz(9.8757, 5.3797, 38.5404)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C28AA #96AA28
analogous
#2855AA #3C28AA #7D28AA
triadic
#3C28AA #AA3C28 #28AA3C
tetradic
#3C28AA #AA2855 #96AA28 #28AA7D
square
#3C28AA #AA2855 #96AA28 #28AA7D
split-complementary
#3C28AA #AA7D28 #55AA28
monochromatic
#191147 #2B1C78 #3C28AA #543ED2 #806FDD

Accessibility & contrast

On white

10.11
#3C28AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3C28AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C28AA
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C28AA#FFFFFF#000000##FFFFFF
##3C28AA1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#003DA8
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3c28aa;
/* rgb */ color: rgb(60, 40, 170);
/* oklch */ color: oklch(39.8% 0.193 280.0);
Tailwind
colors: {
  custom: {
    50: '#8165c5',
    500: '#3c28aa',
    950: '#000000',
  },
}
SCSS
$custom: #3c28aa;
$custom-light: #8165c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c28aa",
  "rgb": {
    "r": 60,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 249.231,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39791,
    "c": 0.19336,
    "h": 280
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#3C28AA
secondary
#B6C46A
accent
#E543CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C28AA

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

Preview Lab → · Contrast checker → · Palette generator →

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