#3C4E9D#3C4E9D

#3C4E9D is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.130 H 270.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#3C4E9D
RGBrgb(60, 78, 157)
HSLhsl(229, 45%, 43%)
HSVhsv(229, 62%, 62%)
CMYKcmyk(61.8%, 50.3%, 0%, 38.4%)
CIE-LABlab(35.68, 18.45, -45.29)
CIE-LCHlch(35.68, 48.90, 292.17°)
OKLaboklab(45.24% 0.0018 -0.1296)
OKLCHoklch(45.24% 0.13 270.8)
XYZxyz(10.6716, 8.8429, 33.0362)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4E9D #9D8B3C
analogous
#3C7E9D #3C4E9D #5B3C9D
triadic
#3C4E9D #9D3C4E #4E9D3C
tetradic
#3C4E9D #9D3C7E #9D8B3C #3C9D5B
square
#3C4E9D #9D3C7E #9D8B3C #3C9D5B
split-complementary
#3C4E9D #9D5B3C #7E9D3C
monochromatic
#1A2244 #2B3871 #3C4E9D #576BBF #8492D0

Accessibility & contrast

On white

7.58
#3C4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3C4E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4E9D
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4E9D#FFFFFF#000000##FFFFFF
##3C4E9D1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2458A0
Deuteranopia (green-blind)
#10509B
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3c4e9d;
/* rgb */ color: rgb(60, 78, 157);
/* oklch */ color: oklch(45.2% 0.130 270.8);
Tailwind
colors: {
  custom: {
    50: '#7b7fba',
    500: '#3c4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #3c4e9d;
$custom-light: #7b7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4e9d",
  "rgb": {
    "r": 60,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 228.866,
    "s": 44.7,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4524,
    "c": 0.12959,
    "h": 270.8
  },
  "luminance": 0.08844
}

Semantic roles & 50–950 ramp

primary
#3C4E9D
secondary
#BAAE7B
accent
#BC53D4
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3C4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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