#3C2FB5#3C2FB5

#3C2FB5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.8% C 0.200 H 277.7°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#3C2FB5
RGBrgb(60, 47, 181)
HSLhsl(246, 59%, 45%)
HSVhsv(246, 74%, 71%)
CMYKcmyk(66.9%, 74%, 0%, 29%)
CIE-LABlab(30.23, 46.00, -68.54)
CIE-LCHlch(30.23, 82.55, 303.87°)
OKLaboklab(41.84% 0.0267 -0.198)
OKLCHoklch(41.84% 0.2 277.7)
XYZxyz(11.2178, 6.3289, 44.3375)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2FB5 #A8B52F
analogous
#2F65B5 #3C2FB5 #7F2FB5
triadic
#3C2FB5 #B53C2F #2FB53C
tetradic
#3C2FB5 #B52F65 #A8B52F #2FB57F
square
#3C2FB5 #B52F65 #A8B52F #2FB57F
split-complementary
#3C2FB5 #B57F2F #65B52F
monochromatic
#1C1654 #2C2284 #3C2FB5 #5C50D1 #8980DE

Accessibility & contrast

On white

9.27
#3C2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3C2FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2FB5
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2FB5#FFFFFF#000000##FFFFFF
##3C2FB51.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3c2fb5;
/* rgb */ color: rgb(60, 47, 181);
/* oklch */ color: oklch(41.8% 0.200 277.7);
Tailwind
colors: {
  custom: {
    50: '#826acc',
    500: '#3c2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #3c2fb5;
$custom-light: #826acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2fb5",
  "rgb": {
    "r": 60,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 245.821,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41844,
    "c": 0.19976,
    "h": 277.7
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

primary
#3C2FB5
secondary
#BFC779
accent
#E246D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3C2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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