#3C5A8D#3C5A8D

#3C5A8D is a mid, moderate blue. Relative luminance 0.102; OKLCH L 46.9% C 0.091 H 260.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#3C5A8D
RGBrgb(60, 90, 141)
HSLhsl(218, 40%, 39%)
HSVhsv(218, 57%, 55%)
CMYKcmyk(57.4%, 36.2%, 0%, 44.7%)
CIE-LABlab(38.19, 5.00, -31.62)
CIE-LCHlch(38.19, 32.02, 278.98°)
OKLaboklab(46.86% -0.015 -0.0894)
OKLCHoklch(46.86% 0.091 260.5)
XYZxyz(10.3257, 10.1952, 26.6179)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5A8D #8D6F3C
analogous
#3C838D #3C5A8D #473C8D
triadic
#3C5A8D #8D3C5A #5A8D3C
tetradic
#3C5A8D #8D3C83 #8D6F3C #3C8D47
square
#3C5A8D #8D3C83 #8D6F3C #3C8D47
split-complementary
#3C5A8D #8D473C #838D3C
monochromatic
#172337 #2A3F62 #3C5A8D #5176B5 #7C98C7

Accessibility & contrast

On white

6.91
#3C5A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3C5A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C5A8D
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5A8D#FFFFFF#000000##FFFFFF
##3C5A8D1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455E8F
Deuteranopia (green-blind)
#3B568C
Tritanopia (blue-blind)
#04656D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3c5a8d;
/* rgb */ color: rgb(60, 90, 141);
/* oklch */ color: oklch(46.9% 0.091 260.5);
Tailwind
colors: {
  custom: {
    50: '#7888ae',
    500: '#3c5a8d',
    950: '#000000',
  },
}
SCSS
$custom: #3c5a8d;
$custom-light: #7888ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5a8d",
  "rgb": {
    "r": 60,
    "g": 90,
    "b": 141
  },
  "hsl": {
    "h": 217.778,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4686,
    "c": 0.09062,
    "h": 260.5
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

primary
#3C5A8D
secondary
#B19A74
accent
#A458D0
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #3C5A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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