#3C4E87#3C4E87

#3C4E87 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.097 H 268.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#3C4E87
RGBrgb(60, 78, 135)
HSLhsl(226, 38%, 38%)
HSVhsv(226, 56%, 53%)
CMYKcmyk(55.6%, 42.2%, 0%, 47.1%)
CIE-LABlab(34.31, 10.70, -34.10)
CIE-LCHlch(34.31, 35.74, 287.42°)
OKLaboklab(43.75% -0.0018 -0.0967)
OKLCHoklch(43.75% 0.097 268.9)
XYZxyz(8.9596, 8.1581, 24.0195)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4E87 #87753C
analogous
#3C7387 #3C4E87 #4F3C87
triadic
#3C4E87 #873C4E #4E873C
tetradic
#3C4E87 #873C73 #87753C #3C874F
square
#3C4E87 #873C73 #87753C #3C874F
split-complementary
#3C4E87 #874F3C #73873C
monochromatic
#161D32 #29365D #3C4E87 #4F67B1 #7A8BC4

Accessibility & contrast

On white

7.98
#3C4E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3C4E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4E87
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4E87#FFFFFF#000000##FFFFFF
##3C4E871.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365489
Deuteranopia (green-blind)
#2E4E86
Tritanopia (blue-blind)
#155A64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3c4e87;
/* rgb */ color: rgb(60, 78, 135);
/* oklch */ color: oklch(43.8% 0.097 268.9);
Tailwind
colors: {
  custom: {
    50: '#777faa',
    500: '#3c4e87',
    950: '#000000',
  },
}
SCSS
$custom: #3c4e87;
$custom-light: #777faa;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4e87",
  "rgb": {
    "r": 60,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 225.6,
    "s": 38.462,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43751,
    "c": 0.09676,
    "h": 268.9
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#3C4E87
secondary
#AD9F71
accent
#B259CE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3C4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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