#3C4EA6#3C4EA6

#3C4EA6 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.143 H 271.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#3C4EA6
RGBrgb(60, 78, 166)
HSLhsl(230, 47%, 44%)
HSVhsv(230, 64%, 65%)
CMYKcmyk(63.9%, 53%, 0%, 34.9%)
CIE-LABlab(36.29, 21.67, -49.70)
CIE-LCHlch(36.29, 54.22, 293.56°)
OKLaboklab(45.9% 0.0026 -0.1425)
OKLCHoklch(45.9% 0.143 271.1)
XYZxyz(11.4685, 9.1616, 37.2330)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4EA6 #A6943C
analogous
#3C83A6 #3C4EA6 #5F3CA6
triadic
#3C4EA6 #A63C4E #4EA63C
tetradic
#3C4EA6 #A63C83 #A6943C #3CA65F
square
#3C4EA6 #A63C83 #A6943C #3CA65F
split-complementary
#3C4EA6 #A65F3C #83A63C
monochromatic
#1C244C #2C3979 #3C4EA6 #5B6DC4 #8895D4

Accessibility & contrast

On white

7.41
#3C4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3C4EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4EA6
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4EA6#FFFFFF#000000##FFFFFF
##3C4EA61.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185AA9
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3c4ea6;
/* rgb */ color: rgb(60, 78, 166);
/* oklch */ color: oklch(45.9% 0.143 271.1);
Tailwind
colors: {
  custom: {
    50: '#7d7fc1',
    500: '#3c4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #3c4ea6;
$custom-light: #7d7fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4ea6",
  "rgb": {
    "r": 60,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 229.811,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.459,
    "c": 0.14257,
    "h": 271.1
  },
  "luminance": 0.09163
}

Semantic roles & 50–950 ramp

primary
#3C4EA6
secondary
#BEB47F
accent
#C051D7
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3C4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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