#3C2FB4#3C2FB4

#3C2FB4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.7% C 0.199 H 277.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#3C2FB4
RGBrgb(60, 47, 180)
HSLhsl(246, 59%, 45%)
HSVhsv(246, 74%, 71%)
CMYKcmyk(66.7%, 73.9%, 0%, 29.4%)
CIE-LABlab(30.13, 45.69, -68.11)
CIE-LCHlch(30.13, 82.01, 303.85°)
OKLaboklab(41.74% 0.0269 -0.1967)
OKLCHoklch(41.74% 0.199 277.8)
XYZxyz(11.1155, 6.2880, 43.7991)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2FB4 #A7B42F
analogous
#2F64B4 #3C2FB4 #7F2FB4
triadic
#3C2FB4 #B43C2F #2FB43C
tetradic
#3C2FB4 #B42F64 #A7B42F #2FB47F
square
#3C2FB4 #B42F64 #A7B42F #2FB47F
split-complementary
#3C2FB4 #B47F2F #64B42F
monochromatic
#1C1653 #2C2283 #3C2FB4 #5C4FD1 #8980DE

Accessibility & contrast

On white

9.30
#3C2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3C2FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2FB4
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2FB4#FFFFFF#000000##FFFFFF
##3C2FB41.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3c2fb4;
/* rgb */ color: rgb(60, 47, 180);
/* oklch */ color: oklch(41.7% 0.199 277.8);
Tailwind
colors: {
  custom: {
    50: '#826acc',
    500: '#3c2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #3c2fb4;
$custom-light: #826acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2fb4",
  "rgb": {
    "r": 60,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 245.865,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41744,
    "c": 0.19854,
    "h": 277.8
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#3C2FB4
secondary
#BFC778
accent
#E246D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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