#3C2EA7#3C2EA7

#3C2EA7 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.184 H 279.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#3C2EA7
RGBrgb(60, 46, 167)
HSLhsl(247, 57%, 42%)
HSVhsv(247, 72%, 65%)
CMYKcmyk(64.1%, 72.5%, 0%, 34.5%)
CIE-LABlab(28.65, 42.10, -62.75)
CIE-LCHlch(28.65, 75.56, 303.86°)
OKLaboklab(40.31% 0.0302 -0.181)
OKLCHoklch(40.31% 0.184 279.5)
XYZxyz(9.8133, 5.7039, 37.1356)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2EA7 #99A72E
analogous
#2E5DA7 #3C2EA7 #792EA7
triadic
#3C2EA7 #A73C2E #2EA73C
tetradic
#3C2EA7 #A72E5D #99A72E #2EA779
square
#3C2EA7 #A72E5D #99A72E #2EA779
split-complementary
#3C2EA7 #A7792E #5DA72E
monochromatic
#1A1447 #2B2177 #3C2EA7 #5646CC #8276D9

Accessibility & contrast

On white

9.81
#3C2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3C2EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2EA7
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2EA7#FFFFFF#000000##FFFFFF
##3C2EA71.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3c2ea7;
/* rgb */ color: rgb(60, 46, 167);
/* oklch */ color: oklch(40.3% 0.184 279.5);
Tailwind
colors: {
  custom: {
    50: '#7f69c2',
    500: '#3c2ea7',
    950: '#000000',
  },
}
SCSS
$custom: #3c2ea7;
$custom-light: #7f69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2ea7",
  "rgb": {
    "r": 60,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 246.942,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40311,
    "c": 0.18355,
    "h": 279.5
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#3C2EA7
secondary
#B8C170
accent
#E048CE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3C2EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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