#3C4ED8#3C4ED8

#3C4ED8 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.0% C 0.210 H 270.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#3C4ED8
RGBrgb(60, 78, 216)
HSLhsl(233, 67%, 54%)
HSVhsv(233, 72%, 85%)
CMYKcmyk(72.2%, 63.9%, 0%, 15.3%)
CIE-LABlab(40.19, 39.40, -72.60)
CIE-LCHlch(40.19, 82.60, 298.49°)
OKLaboklab(50.01% 0.0029 -0.2098)
OKLCHoklch(50.01% 0.21 270.8)
XYZxyz(16.9783, 11.3656, 66.2514)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4ED8 #D8C63C
analogous
#3C9CD8 #3C4ED8 #783CD8
triadic
#3C4ED8 #D83C4E #4ED83C
tetradic
#3C4ED8 #D83C9C #D8C63C #3CD878
square
#3C4ED8 #D83C9C #D8C63C #3CD878
split-complementary
#3C4ED8 #D8783C #9CD83C
monochromatic
#1A2580 #2434B3 #3C4ED8 #6F7CE2 #A2ABEC

Accessibility & contrast

On white

6.42
#3C4ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3C4ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C4ED8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4ED8#FFFFFF#000000##FFFFFF
##3C4ED81.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#0058D5
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3c4ed8;
/* rgb */ color: rgb(60, 78, 216);
/* oklch */ color: oklch(50.0% 0.210 270.8);
Tailwind
colors: {
  custom: {
    50: '#877fe5',
    500: '#3c4ed8',
    950: '#000000',
  },
}
SCSS
$custom: #3c4ed8;
$custom-light: #877fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4ed8",
  "rgb": {
    "r": 60,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 233.077,
    "s": 66.667,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50013,
    "c": 0.20984,
    "h": 270.8
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#3C4ED8
secondary
#D9D197
accent
#D63EEA
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3C4ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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