#3C2DAA#3C2DAA

#3C2DAA is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.5% C 0.188 H 279.2°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#3C2DAA
RGBrgb(60, 45, 170)
HSLhsl(247, 58%, 42%)
HSVhsv(247, 74%, 67%)
CMYKcmyk(64.7%, 73.5%, 0%, 33.3%)
CIE-LABlab(28.74, 43.61, -64.40)
CIE-LCHlch(28.74, 77.78, 304.11°)
OKLaboklab(40.47% 0.0303 -0.1859)
OKLCHoklch(40.47% 0.188 279.2)
XYZxyz(10.0552, 5.7389, 38.6003)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2DAA #9BAA2D
analogous
#2D5DAA #3C2DAA #7B2DAA
triadic
#3C2DAA #AA3C2D #2DAA3C
tetradic
#3C2DAA #AA2D5D #9BAA2D #2DAA7B
square
#3C2DAA #AA2D5D #9BAA2D #2DAA7B
split-complementary
#3C2DAA #AA7B2D #5DAA2D
monochromatic
#1A1349 #2B207A #3C2DAA #5646CE #8377DB

Accessibility & contrast

On white

9.78
#3C2DAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3C2DAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2DAA
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2DAA#FFFFFF#000000##FFFFFF
##3C2DAA1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3c2daa;
/* rgb */ color: rgb(60, 45, 170);
/* oklch */ color: oklch(40.5% 0.188 279.2);
Tailwind
colors: {
  custom: {
    50: '#8068c4',
    500: '#3c2daa',
    950: '#000000',
  },
}
SCSS
$custom: #3c2daa;
$custom-light: #8068c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2daa",
  "rgb": {
    "r": 60,
    "g": 45,
    "b": 170
  },
  "hsl": {
    "h": 247.2,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40465,
    "c": 0.18834,
    "h": 279.2
  },
  "luminance": 0.0574
}

Semantic roles & 50–950 ramp

primary
#3C2DAA
secondary
#B9C370
accent
#E146CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3C2DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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