#3C4FA6#3C4FA6

#3C4FA6 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.141 H 270.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#3C4FA6
RGBrgb(60, 79, 166)
HSLhsl(229, 47%, 44%)
HSVhsv(229, 64%, 65%)
CMYKcmyk(63.9%, 52.4%, 0%, 34.9%)
CIE-LABlab(36.56, 21.01, -49.26)
CIE-LCHlch(36.56, 53.55, 293.10°)
OKLaboklab(46.1% 0.0016 -0.1412)
OKLCHoklch(46.1% 0.141 270.7)
XYZxyz(11.5401, 9.3048, 37.2569)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4FA6 #A6933C
analogous
#3C84A6 #3C4FA6 #5E3CA6
triadic
#3C4FA6 #A63C4F #4FA63C
tetradic
#3C4FA6 #A63C84 #A6933C #3CA65E
square
#3C4FA6 #A63C84 #A6933C #3CA65E
split-complementary
#3C4FA6 #A65E3C #84A63C
monochromatic
#1C244C #2C3A79 #3C4FA6 #5B6EC4 #8896D4

Accessibility & contrast

On white

7.34
#3C4FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3C4FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4FA6
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4FA6#FFFFFF#000000##FFFFFF
##3C4FA61.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5BA9
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3c4fa6;
/* rgb */ color: rgb(60, 79, 166);
/* oklch */ color: oklch(46.1% 0.141 270.7);
Tailwind
colors: {
  custom: {
    50: '#7d80c1',
    500: '#3c4fa6',
    950: '#000000',
  },
}
SCSS
$custom: #3c4fa6;
$custom-light: #7d80c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4fa6",
  "rgb": {
    "r": 60,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 229.245,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46104,
    "c": 0.14126,
    "h": 270.7
  },
  "luminance": 0.09306
}

Semantic roles & 50–950 ramp

primary
#3C4FA6
secondary
#BEB37F
accent
#BF51D7
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3C4FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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