#3C2FB1#3C2FB1

#3C2FB1 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.195 H 278.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#3C2FB1
RGBrgb(60, 47, 177)
HSLhsl(246, 58%, 44%)
HSVhsv(246, 73%, 69%)
CMYKcmyk(66.1%, 73.4%, 0%, 30.6%)
CIE-LABlab(29.83, 44.73, -66.81)
CIE-LCHlch(29.83, 80.40, 303.80°)
OKLaboklab(41.44% 0.0275 -0.1929)
OKLCHoklch(41.44% 0.195 278.1)
XYZxyz(10.8132, 6.1671, 42.2070)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2FB1 #A4B12F
analogous
#2F63B1 #3C2FB1 #7D2FB1
triadic
#3C2FB1 #B13C2F #2FB13C
tetradic
#3C2FB1 #B12F63 #A4B12F #2FB17D
square
#3C2FB1 #B12F63 #A4B12F #2FB17D
split-complementary
#3C2FB1 #B17D2F #63B12F
monochromatic
#1B1550 #2C2281 #3C2FB1 #5A4DD0 #877EDD

Accessibility & contrast

On white

9.40
#3C2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3C2FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2FB1
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2FB1#FFFFFF#000000##FFFFFF
##3C2FB11.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3c2fb1;
/* rgb */ color: rgb(60, 47, 177);
/* oklch */ color: oklch(41.4% 0.195 278.1);
Tailwind
colors: {
  custom: {
    50: '#816aca',
    500: '#3c2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #3c2fb1;
$custom-light: #816aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2fb1",
  "rgb": {
    "r": 60,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 246,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41443,
    "c": 0.19487,
    "h": 278.1
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#3C2FB1
secondary
#BDC576
accent
#E147D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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