#3C4EB6#3C4EB6

#3C4EB6 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.165 H 271.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#3C4EB6
RGBrgb(60, 78, 182)
HSLhsl(231, 50%, 47%)
HSVhsv(231, 67%, 71%)
CMYKcmyk(67%, 57.1%, 0%, 28.6%)
CIE-LABlab(37.45, 27.39, -57.31)
CIE-LCHlch(37.45, 63.52, 295.55°)
OKLaboklab(47.14% 0.0035 -0.1649)
OKLCHoklch(47.14% 0.165 271.2)
XYZxyz(13.0285, 9.7856, 45.4491)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4EB6 #B6A43C
analogous
#3C8BB6 #3C4EB6 #673CB6
triadic
#3C4EB6 #B63C4E #4EB63C
tetradic
#3C4EB6 #B63C8B #B6A43C #3CB667
square
#3C4EB6 #B63C8B #B6A43C #3CB667
split-complementary
#3C4EB6 #B6673C #8BB63C
monochromatic
#1E275A #2D3A88 #3C4EB6 #6373CC #919CDB

Accessibility & contrast

On white

7.10
#3C4EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3C4EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4EB6
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4EB6#FFFFFF#000000##FFFFFF
##3C4EB61.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3c4eb6;
/* rgb */ color: rgb(60, 78, 182);
/* oklch */ color: oklch(47.1% 0.165 271.2);
Tailwind
colors: {
  custom: {
    50: '#807fcd',
    500: '#3c4eb6',
    950: '#000000',
  },
}
SCSS
$custom: #3c4eb6;
$custom-light: #807fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4eb6",
  "rgb": {
    "r": 60,
    "g": 78,
    "b": 182
  },
  "hsl": {
    "h": 231.148,
    "s": 50.413,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47139,
    "c": 0.16498,
    "h": 271.2
  },
  "luminance": 0.09787
}

Semantic roles & 50–950 ramp

primary
#3C4EB6
secondary
#C6BD88
accent
#C54EDA
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3C4EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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