#3C4E99#3C4E99

#3C4E99 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.124 H 270.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3C4E99
RGBrgb(60, 78, 153)
HSLhsl(228, 44%, 42%)
HSVhsv(228, 61%, 60%)
CMYKcmyk(60.8%, 49%, 0%, 40%)
CIE-LABlab(35.42, 17.03, -43.30)
CIE-LCHlch(35.42, 46.53, 291.47°)
OKLaboklab(44.96% 0.0013 -0.1237)
OKLCHoklch(44.96% 0.124 270.6)
XYZxyz(10.3357, 8.7085, 31.2671)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4E99 #99873C
analogous
#3C7D99 #3C4E99 #593C99
triadic
#3C4E99 #993C4E #4E993C
tetradic
#3C4E99 #993C7D #99873C #3C9959
square
#3C4E99 #993C7D #99873C #3C9959
split-complementary
#3C4E99 #99593C #7D993C
monochromatic
#1A2141 #2B386D #3C4E99 #566ABD #8290CE

Accessibility & contrast

On white

7.66
#3C4E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3C4E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4E99
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4E99#FFFFFF#000000##FFFFFF
##3C4E991.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29589C
Deuteranopia (green-blind)
#194F97
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3c4e99;
/* rgb */ color: rgb(60, 78, 153);
/* oklch */ color: oklch(45.0% 0.124 270.6);
Tailwind
colors: {
  custom: {
    50: '#7a7fb7',
    500: '#3c4e99',
    950: '#000000',
  },
}
SCSS
$custom: #3c4e99;
$custom-light: #7a7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4e99",
  "rgb": {
    "r": 60,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 228.387,
    "s": 43.662,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44955,
    "c": 0.12374,
    "h": 270.6
  },
  "luminance": 0.08709
}

Semantic roles & 50–950 ramp

primary
#3C4E99
secondary
#B8AC79
accent
#BB54D3
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3C4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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