#3C3EB8#3C3EB8

#3C3EB8 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.4% C 0.187 H 275.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#3C3EB8
RGBrgb(60, 62, 184)
HSLhsl(239, 51%, 48%)
HSVhsv(239, 67%, 72%)
CMYKcmyk(67.4%, 66.3%, 0%, 27.8%)
CIE-LABlab(33.70, 38.23, -64.61)
CIE-LCHlch(33.70, 75.07, 300.61°)
OKLaboklab(44.42% 0.0162 -0.1865)
OKLCHoklch(44.42% 0.187 275)
XYZxyz(12.2350, 7.8655, 46.2115)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C3EB8 #B8B63C
analogous
#3C7CB8 #3C3EB8 #783CB8
triadic
#3C3EB8 #B83C3E #3EB83C
tetradic
#3C3EB8 #B83C7C #B8B63C #3CB878
square
#3C3EB8 #B83C7C #B8B63C #3CB878
split-complementary
#3C3EB8 #B8783C #7CB83C
monochromatic
#1E1F5C #2D2E8A #3C3EB8 #6566CD #9394DC

Accessibility & contrast

On white

8.16
#3C3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3C3EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C3EB8
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C3EB8#FFFFFF#000000##FFFFFF
##3C3EB81.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#004AB6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3c3eb8;
/* rgb */ color: rgb(60, 62, 184);
/* oklch */ color: oklch(44.4% 0.187 275.0);
Tailwind
colors: {
  custom: {
    50: '#8274ce',
    500: '#3c3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #3c3eb8;
$custom-light: #8274ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3c3eb8",
  "rgb": {
    "r": 60,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 239.032,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44423,
    "c": 0.1872,
    "h": 275
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#3C3EB8
secondary
#C7C689
accent
#D84DDA
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3C3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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