#3C4E9C#3C4E9C

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

Color values

HEX#3C4E9C
RGBrgb(60, 78, 156)
HSLhsl(229, 44%, 42%)
HSVhsv(229, 62%, 61%)
CMYKcmyk(61.5%, 50%, 0%, 38.8%)
CIE-LABlab(35.61, 18.10, -44.79)
CIE-LCHlch(35.61, 48.31, 292.00°)
OKLaboklab(45.17% 0.0016 -0.1281)
OKLCHoklch(45.17% 0.128 270.7)
XYZxyz(10.5866, 8.8089, 32.5884)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4E9C #9C8A3C
analogous
#3C7E9C #3C4E9C #5A3C9C
triadic
#3C4E9C #9C3C4E #4E9C3C
tetradic
#3C4E9C #9C3C7E #9C8A3C #3C9C5A
square
#3C4E9C #9C3C7E #9C8A3C #3C9C5A
split-complementary
#3C4E9C #9C5A3C #7E9C3C
monochromatic
#1A2244 #2B3870 #3C4E9C #576ABE #8391CF

Accessibility & contrast

On white

7.60
#3C4E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C4E9C
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4E9C#FFFFFF#000000##FFFFFF
##3C4E9C1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589F
Deuteranopia (green-blind)
#13509A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3c4e9c;
/* rgb */ color: rgb(60, 78, 156);
/* oklch */ color: oklch(45.2% 0.128 270.7);
Tailwind
colors: {
  custom: {
    50: '#7b7fba',
    500: '#3c4e9c',
    950: '#000000',
  },
}
SCSS
$custom: #3c4e9c;
$custom-light: #7b7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4e9c",
  "rgb": {
    "r": 60,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 228.75,
    "s": 44.444,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45168,
    "c": 0.12813,
    "h": 270.7
  },
  "luminance": 0.0881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C4E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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