#3C3FA2#3C3FA2

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

Color values

HEX#3C3FA2
RGBrgb(60, 63, 162)
HSLhsl(238, 46%, 44%)
HSVhsv(238, 63%, 64%)
CMYKcmyk(63%, 61.1%, 0%, 36.5%)
CIE-LABlab(32.09, 30.03, -54.12)
CIE-LCHlch(32.09, 61.89, 299.03°)
OKLaboklab(42.67% 0.0169 -0.1557)
OKLCHoklch(42.67% 0.157 276.2)
XYZxyz(10.1605, 7.1235, 35.0150)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C3FA2 #A29F3C
analogous
#3C72A2 #3C3FA2 #6C3CA2
triadic
#3C3FA2 #A23C3F #3FA23C
tetradic
#3C3FA2 #A23C72 #A29F3C #3CA26C
square
#3C3FA2 #A23C72 #A29F3C #3CA26C
split-complementary
#3C3FA2 #A26C3C #72A23C
monochromatic
#1B1C49 #2B2E75 #3C3FA2 #595DC2 #8688D2

Accessibility & contrast

On white

8.66
#3C3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C3FA2
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C3FA2#FFFFFF#000000##FFFFFF
##3C3FA21.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3c3fa2;
/* rgb */ color: rgb(60, 63, 162);
/* oklch */ color: oklch(42.7% 0.157 276.2);
Tailwind
colors: {
  custom: {
    50: '#7d74be',
    500: '#3c3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #3c3fa2;
$custom-light: #7d74be;
$custom-dark: #000000;
JSON
{
  "hex": "#3c3fa2",
  "rgb": {
    "r": 60,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 238.235,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42666,
    "c": 0.15662,
    "h": 276.2
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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