#3C2EAA#3C2EAA

#3C2EAA is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.187 H 279.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#3C2EAA
RGBrgb(60, 46, 170)
HSLhsl(247, 57%, 42%)
HSVhsv(247, 73%, 67%)
CMYKcmyk(64.7%, 72.9%, 0%, 33.3%)
CIE-LABlab(28.94, 43.06, -64.08)
CIE-LCHlch(28.94, 77.20, 303.90°)
OKLaboklab(40.61% 0.0296 -0.1849)
OKLCHoklch(40.61% 0.187 279.1)
XYZxyz(10.0939, 5.8161, 38.6131)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2EAA #9CAA2E
analogous
#2E5EAA #3C2EAA #7A2EAA
triadic
#3C2EAA #AA3C2E #2EAA3C
tetradic
#3C2EAA #AA2E5E #9CAA2E #2EAA7A
square
#3C2EAA #AA2E5E #9CAA2E #2EAA7A
split-complementary
#3C2EAA #AA7A2E #5EAA2E
monochromatic
#1A144A #2B217A #3C2EAA #5748CD #8378DA

Accessibility & contrast

On white

9.71
#3C2EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3C2EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2EAA
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2EAA#FFFFFF#000000##FFFFFF
##3C2EAA1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c2eaa;
/* rgb */ color: rgb(60, 46, 170);
/* oklch */ color: oklch(40.6% 0.187 279.1);
Tailwind
colors: {
  custom: {
    50: '#8069c4',
    500: '#3c2eaa',
    950: '#000000',
  },
}
SCSS
$custom: #3c2eaa;
$custom-light: #8069c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2eaa",
  "rgb": {
    "r": 60,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 246.774,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40606,
    "c": 0.18728,
    "h": 279.1
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#3C2EAA
secondary
#B9C371
accent
#E147CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3C2EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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