#3C4E9B#3C4E9B

#3C4E9B is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.127 H 270.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#3C4E9B
RGBrgb(60, 78, 155)
HSLhsl(229, 44%, 42%)
HSVhsv(229, 61%, 61%)
CMYKcmyk(61.3%, 49.7%, 0%, 39.2%)
CIE-LABlab(35.55, 17.74, -44.30)
CIE-LCHlch(35.55, 47.72, 291.83°)
OKLaboklab(45.1% 0.0015 -0.1267)
OKLCHoklch(45.1% 0.127 270.7)
XYZxyz(10.5023, 8.7751, 32.1443)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4E9B #9B893C
analogous
#3C7D9B #3C4E9B #5A3C9B
triadic
#3C4E9B #9B3C4E #4E9B3C
tetradic
#3C4E9B #9B3C7D #9B893C #3C9B5A
square
#3C4E9B #9B3C7D #9B893C #3C9B5A
split-complementary
#3C4E9B #9B5A3C #7D9B3C
monochromatic
#1A2243 #2B386F #3C4E9B #566ABE #8391CF

Accessibility & contrast

On white

7.62
#3C4E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3C4E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4E9B
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4E9B#FFFFFF#000000##FFFFFF
##3C4E9B1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589E
Deuteranopia (green-blind)
#155099
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3c4e9b;
/* rgb */ color: rgb(60, 78, 155);
/* oklch */ color: oklch(45.1% 0.127 270.7);
Tailwind
colors: {
  custom: {
    50: '#7b7fb9',
    500: '#3c4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #3c4e9b;
$custom-light: #7b7fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4e9b",
  "rgb": {
    "r": 60,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 228.632,
    "s": 44.186,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45097,
    "c": 0.12667,
    "h": 270.7
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#3C4E9B
secondary
#B9AD7A
accent
#BC54D4
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3C4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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