#3C5FB9#3C5FB9

#3C5FB9 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.8% C 0.148 H 265.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#3C5FB9
RGBrgb(60, 95, 185)
HSLhsl(223, 51%, 48%)
HSVhsv(223, 68%, 73%)
CMYKcmyk(67.6%, 48.6%, 0%, 27.5%)
CIE-LABlab(42.23, 17.47, -51.35)
CIE-LCHlch(42.23, 54.25, 288.79°)
OKLaboklab(50.81% -0.0117 -0.1472)
OKLCHoklch(50.81% 0.148 265.5)
XYZxyz(14.7096, 12.6464, 47.5553)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5FB9 #B9963C
analogous
#3C9DB9 #3C5FB9 #573CB9
triadic
#3C5FB9 #B93C5F #5FB93C
tetradic
#3C5FB9 #B93C9D #B9963C #3CB957
square
#3C5FB9 #B93C9D #B9963C #3CB957
split-complementary
#3C5FB9 #B9573C #9DB93C
monochromatic
#1E305D #2D478B #3C5FB9 #6582CD #93A8DC

Accessibility & contrast

On white

5.95
#3C5FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3C5FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C5FB9
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5FB9#FFFFFF#000000##FFFFFF
##3C5FB91.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6ABC
Deuteranopia (green-blind)
#0E5EB7
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3c5fb9;
/* rgb */ color: rgb(60, 95, 185);
/* oklch */ color: oklch(50.8% 0.148 265.5);
Tailwind
colors: {
  custom: {
    50: '#808bcf',
    500: '#3c5fb9',
    950: '#000000',
  },
}
SCSS
$custom: #3c5fb9;
$custom-light: #808bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5fb9",
  "rgb": {
    "r": 60,
    "g": 95,
    "b": 185
  },
  "hsl": {
    "h": 223.2,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50809,
    "c": 0.14765,
    "h": 265.5
  },
  "luminance": 0.12648
}

Semantic roles & 50–950 ramp

primary
#3C5FB9
secondary
#C7B689
accent
#B34DDA
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3C5FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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