#3C3FA6#3C3FA6

#3C3FA6 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.162 H 275.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#3C3FA6
RGBrgb(60, 63, 166)
HSLhsl(238, 47%, 44%)
HSVhsv(238, 64%, 65%)
CMYKcmyk(63.9%, 62%, 0%, 34.9%)
CIE-LABlab(32.41, 31.42, -56.00)
CIE-LCHlch(32.41, 64.21, 299.29°)
OKLaboklab(43.01% 0.0167 -0.1612)
OKLCHoklch(43.01% 0.162 275.9)
XYZxyz(10.5217, 7.2680, 36.9174)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C3FA6 #A6A33C
analogous
#3C74A6 #3C3FA6 #6E3CA6
triadic
#3C3FA6 #A63C3F #3FA63C
tetradic
#3C3FA6 #A63C74 #A6A33C #3CA66E
square
#3C3FA6 #A63C74 #A6A33C #3CA66E
split-complementary
#3C3FA6 #A66E3C #74A63C
monochromatic
#1C1D4C #2C2E79 #3C3FA6 #5B5EC4 #888AD4

Accessibility & contrast

On white

8.56
#3C3FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3C3FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C3FA6
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C3FA6#FFFFFF#000000##FFFFFF
##3C3FA61.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3c3fa6;
/* rgb */ color: rgb(60, 63, 166);
/* oklch */ color: oklch(43.0% 0.162 275.9);
Tailwind
colors: {
  custom: {
    50: '#7e74c1',
    500: '#3c3fa6',
    950: '#000000',
  },
}
SCSS
$custom: #3c3fa6;
$custom-light: #7e74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c3fa6",
  "rgb": {
    "r": 60,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 238.302,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43005,
    "c": 0.1621,
    "h": 275.9
  },
  "luminance": 0.07269
}

Semantic roles & 50–950 ramp

primary
#3C3FA6
secondary
#BEBD7F
accent
#D351D7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3C3FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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