#3C3FA1#3C3FA1

#3C3FA1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.155 H 276.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#3C3FA1
RGBrgb(60, 63, 161)
HSLhsl(238, 46%, 43%)
HSVhsv(238, 63%, 63%)
CMYKcmyk(62.7%, 60.9%, 0%, 36.9%)
CIE-LABlab(32.01, 29.68, -53.64)
CIE-LCHlch(32.01, 61.31, 298.96°)
OKLaboklab(42.58% 0.0169 -0.1543)
OKLCHoklch(42.58% 0.155 276.2)
XYZxyz(10.0719, 7.0881, 34.5487)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C3FA1 #A19E3C
analogous
#3C71A1 #3C3FA1 #6B3CA1
triadic
#3C3FA1 #A13C3F #3FA13C
tetradic
#3C3FA1 #A13C71 #A19E3C #3CA16B
square
#3C3FA1 #A13C71 #A19E3C #3CA16B
split-complementary
#3C3FA1 #A16B3C #71A13C
monochromatic
#1B1C48 #2B2E74 #3C3FA1 #595CC1 #8688D2

Accessibility & contrast

On white

8.69
#3C3FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3C3FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C3FA1
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C3FA1#FFFFFF#000000##FFFFFF
##3C3FA11.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3c3fa1;
/* rgb */ color: rgb(60, 63, 161);
/* oklch */ color: oklch(42.6% 0.155 276.2);
Tailwind
colors: {
  custom: {
    50: '#7d74be',
    500: '#3c3fa1',
    950: '#000000',
  },
}
SCSS
$custom: #3c3fa1;
$custom-light: #7d74be;
$custom-dark: #000000;
JSON
{
  "hex": "#3c3fa1",
  "rgb": {
    "r": 60,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 238.218,
    "s": 45.701,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42582,
    "c": 0.15524,
    "h": 276.2
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#3C3FA1
secondary
#BCBA7D
accent
#D152D5
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3C3FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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