#3C2AAA#3C2AAA

#3C2AAA is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.1% C 0.191 H 279.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#3C2AAA
RGBrgb(60, 42, 170)
HSLhsl(248, 60%, 42%)
HSVhsv(248, 75%, 67%)
CMYKcmyk(64.7%, 75.3%, 0%, 33.3%)
CIE-LABlab(28.16, 45.25, -65.36)
CIE-LCHlch(28.16, 79.50, 304.70°)
OKLaboklab(40.05% 0.0322 -0.1887)
OKLCHoklch(40.05% 0.191 279.7)
XYZxyz(9.9448, 5.5181, 38.5634)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2AAA #98AA2A
analogous
#2A58AA #3C2AAA #7C2AAA
triadic
#3C2AAA #AA3C2A #2AAA3C
tetradic
#3C2AAA #AA2A58 #98AA2A #2AAA7C
square
#3C2AAA #AA2A58 #98AA2A #2AAA7C
split-complementary
#3C2AAA #AA7C2A #58AA2A
monochromatic
#191248 #2B1E79 #3C2AAA #5541D0 #8172DC

Accessibility & contrast

On white

9.98
#3C2AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3C2AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2AAA
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2AAA#FFFFFF#000000##FFFFFF
##3C2AAA1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c2aaa;
/* rgb */ color: rgb(60, 42, 170);
/* oklch */ color: oklch(40.1% 0.191 279.7);
Tailwind
colors: {
  custom: {
    50: '#8066c4',
    500: '#3c2aaa',
    950: '#000000',
  },
}
SCSS
$custom: #3c2aaa;
$custom-light: #8066c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2aaa",
  "rgb": {
    "r": 60,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 248.438,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40053,
    "c": 0.19139,
    "h": 279.7
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#3C2AAA
secondary
#B7C36C
accent
#E444CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C2AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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