#3C3FAC#3C3FAC

#3C3FAC is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.170 H 275.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#3C3FAC
RGBrgb(60, 63, 172)
HSLhsl(238, 48%, 45%)
HSVhsv(238, 65%, 67%)
CMYKcmyk(65.1%, 63.4%, 0%, 32.5%)
CIE-LABlab(32.90, 33.49, -58.78)
CIE-LCHlch(32.90, 67.65, 299.67°)
OKLaboklab(43.52% 0.0164 -0.1694)
OKLCHoklch(43.52% 0.17 275.5)
XYZxyz(11.0849, 7.4933, 39.8839)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C3FAC #ACA93C
analogous
#3C77AC #3C3FAC #713CAC
triadic
#3C3FAC #AC3C3F #3FAC3C
tetradic
#3C3FAC #AC3C77 #ACA93C #3CAC71
square
#3C3FAC #AC3C77 #ACA93C #3CAC71
split-complementary
#3C3FAC #AC713C #77AC3C
monochromatic
#1C1E51 #2C2E7F #3C3FAC #5E61C7 #8C8ED7

Accessibility & contrast

On white

8.40
#3C3FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3C3FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C3FAC
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C3FAC#FFFFFF#000000##FFFFFF
##3C3FAC1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3c3fac;
/* rgb */ color: rgb(60, 63, 172);
/* oklch */ color: oklch(43.5% 0.170 275.5);
Tailwind
colors: {
  custom: {
    50: '#7f74c6',
    500: '#3c3fac',
    950: '#000000',
  },
}
SCSS
$custom: #3c3fac;
$custom-light: #7f74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c3fac",
  "rgb": {
    "r": 60,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 238.393,
    "s": 48.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43523,
    "c": 0.17021,
    "h": 275.5
  },
  "luminance": 0.07494
}

Semantic roles & 50–950 ramp

primary
#3C3FAC
secondary
#C1C082
accent
#D450D8
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3C3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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