#3C3FB2#3C3FB2

#3C3FB2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.1% C 0.178 H 275.1°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#3C3FB2
RGBrgb(60, 63, 178)
HSLhsl(238, 50%, 47%)
HSVhsv(238, 66%, 70%)
CMYKcmyk(66.3%, 64.6%, 0%, 30.2%)
CIE-LABlab(33.41, 35.56, -61.53)
CIE-LCHlch(33.41, 71.06, 300.03°)
OKLaboklab(44.05% 0.016 -0.1775)
OKLCHoklch(44.05% 0.178 275.1)
XYZxyz(11.6742, 7.7290, 42.9875)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C3FB2 #B2AF3C
analogous
#3C7AB2 #3C3FB2 #743CB2
triadic
#3C3FB2 #B23C3F #3FB23C
tetradic
#3C3FB2 #B23C7A #B2AF3C #3CB274
square
#3C3FB2 #B23C7A #B2AF3C #3CB274
split-complementary
#3C3FB2 #B2743C #7AB23C
monochromatic
#1D1F56 #2D2F84 #3C3FB2 #6164CA #8F91D9

Accessibility & contrast

On white

8.25
#3C3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3C3FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C3FB2
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C3FB2#FFFFFF#000000##FFFFFF
##3C3FB21.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3c3fb2;
/* rgb */ color: rgb(60, 63, 178);
/* oklch */ color: oklch(44.1% 0.178 275.1);
Tailwind
colors: {
  custom: {
    50: '#8074ca',
    500: '#3c3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #3c3fb2;
$custom-light: #8074ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3c3fb2",
  "rgb": {
    "r": 60,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 238.475,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44052,
    "c": 0.17819,
    "h": 275.1
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#3C3FB2
secondary
#C4C386
accent
#D64FD9
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3C3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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