#3C3FA3#3C3FA3

#3C3FA3 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.158 H 276.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#3C3FA3
RGBrgb(60, 63, 163)
HSLhsl(238, 46%, 44%)
HSVhsv(238, 63%, 64%)
CMYKcmyk(63.2%, 61.3%, 0%, 36.1%)
CIE-LABlab(32.17, 30.38, -54.59)
CIE-LCHlch(32.17, 62.47, 299.09°)
OKLaboklab(42.75% 0.0168 -0.1571)
OKLCHoklch(42.75% 0.158 276.1)
XYZxyz(10.2497, 7.1592, 35.4850)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C3FA3 #A3A03C
analogous
#3C72A3 #3C3FA3 #6C3CA3
triadic
#3C3FA3 #A33C3F #3FA33C
tetradic
#3C3FA3 #A33C72 #A3A03C #3CA36C
square
#3C3FA3 #A33C72 #A3A03C #3CA36C
split-complementary
#3C3FA3 #A36C3C #72A33C
monochromatic
#1B1C4A #2C2E76 #3C3FA3 #5A5DC2 #8789D3

Accessibility & contrast

On white

8.63
#3C3FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3C3FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C3FA3
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C3FA3#FFFFFF#000000##FFFFFF
##3C3FA31.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3c3fa3;
/* rgb */ color: rgb(60, 63, 163);
/* oklch */ color: oklch(42.8% 0.158 276.1);
Tailwind
colors: {
  custom: {
    50: '#7d74bf',
    500: '#3c3fa3',
    950: '#000000',
  },
}
SCSS
$custom: #3c3fa3;
$custom-light: #7d74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c3fa3",
  "rgb": {
    "r": 60,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 238.252,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4275,
    "c": 0.158,
    "h": 276.1
  },
  "luminance": 0.0716
}

Semantic roles & 50–950 ramp

primary
#3C3FA3
secondary
#BDBB7E
accent
#D252D6
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3C3FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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