#3C5FBE#3C5FBE

#3C5FBE is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.2% C 0.155 H 265.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#3C5FBE
RGBrgb(60, 95, 190)
HSLhsl(224, 52%, 49%)
HSVhsv(224, 68%, 75%)
CMYKcmyk(68.4%, 50%, 0%, 25.5%)
CIE-LABlab(42.55, 19.29, -53.74)
CIE-LCHlch(42.55, 57.10, 289.74°)
OKLaboklab(51.16% -0.011 -0.1542)
OKLCHoklch(51.16% 0.155 265.9)
XYZxyz(15.2467, 12.8613, 50.3842)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5FBE #BE9B3C
analogous
#3CA0BE #3C5FBE #5A3CBE
triadic
#3C5FBE #BE3C5F #5FBE3C
tetradic
#3C5FBE #BE3CA0 #BE9B3C #3CBE5A
square
#3C5FBE #BE3CA0 #BE9B3C #3CBE5A
split-complementary
#3C5FBE #BE5A3C #A0BE3C
monochromatic
#1F3061 #2D488F #3C5FBE #6884CF #96AADE

Accessibility & contrast

On white

5.88
#3C5FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3C5FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C5FBE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5FBE#FFFFFF#000000##FFFFFF
##3C5FBE1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296BC1
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3c5fbe;
/* rgb */ color: rgb(60, 95, 190);
/* oklch */ color: oklch(51.2% 0.155 265.9);
Tailwind
colors: {
  custom: {
    50: '#818bd2',
    500: '#3c5fbe',
    950: '#000000',
  },
}
SCSS
$custom: #3c5fbe;
$custom-light: #818bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5fbe",
  "rgb": {
    "r": 60,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 223.846,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51164,
    "c": 0.1546,
    "h": 265.9
  },
  "luminance": 0.12863
}

Semantic roles & 50–950 ramp

primary
#3C5FBE
secondary
#CAB98C
accent
#B54CDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3C5FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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