#3C2FA5#3C2FA5

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

Color values

HEX#3C2FA5
RGBrgb(60, 47, 165)
HSLhsl(247, 56%, 42%)
HSVhsv(247, 72%, 65%)
CMYKcmyk(63.6%, 71.5%, 0%, 35.3%)
CIE-LABlab(28.67, 40.88, -61.52)
CIE-LCHlch(28.67, 73.86, 303.61°)
OKLaboklab(40.26% 0.0299 -0.1775)
OKLCHoklch(40.26% 0.18 279.5)
XYZxyz(9.6694, 5.7096, 36.1825)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2FA5 #98A52F
analogous
#2F5DA5 #3C2FA5 #772FA5
triadic
#3C2FA5 #A53C2F #2FA53C
tetradic
#3C2FA5 #A52F5D #98A52F #2FA577
square
#3C2FA5 #A52F5D #98A52F #2FA577
split-complementary
#3C2FA5 #A5772F #5DA52F
monochromatic
#191446 #2B2175 #3C2FA5 #5547CB #8176D8

Accessibility & contrast

On white

9.80
#3C2FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C2FA5
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2FA5#FFFFFF#000000##FFFFFF
##3C2FA51.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3c2fa5;
/* rgb */ color: rgb(60, 47, 165);
/* oklch */ color: oklch(40.3% 0.180 279.5);
Tailwind
colors: {
  custom: {
    50: '#7f69c1',
    500: '#3c2fa5',
    950: '#000000',
  },
}
SCSS
$custom: #3c2fa5;
$custom-light: #7f69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2fa5",
  "rgb": {
    "r": 60,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 246.61,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40264,
    "c": 0.17995,
    "h": 279.5
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

primary
#3C2FA5
secondary
#B7C070
accent
#DF49CE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3C2FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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