#3C5FC7#3C5FC7

#3C5FC7 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.8% C 0.167 H 266.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#3C5FC7
RGBrgb(60, 95, 199)
HSLhsl(225, 55%, 51%)
HSVhsv(225, 70%, 78%)
CMYKcmyk(69.8%, 52.3%, 0%, 22%)
CIE-LABlab(43.16, 22.56, -57.97)
CIE-LCHlch(43.16, 62.21, 291.26°)
OKLaboklab(51.82% -0.0101 -0.1667)
OKLCHoklch(51.82% 0.167 266.5)
XYZxyz(16.2609, 13.2670, 55.7256)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5FC7 #C7A43C
analogous
#3CA4C7 #3C5FC7 #5E3CC7
triadic
#3C5FC7 #C73C5F #5FC73C
tetradic
#3C5FC7 #C73CA4 #C7A43C #3CC75E
square
#3C5FC7 #C73CA4 #C7A43C #3CC75E
split-complementary
#3C5FC7 #C75E3C #A4C73C
monochromatic
#1E326A #2C489A #3C5FC7 #6C86D5 #9BADE2

Accessibility & contrast

On white

5.75
#3C5FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3C5FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C5FC7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5FC7#FFFFFF#000000##FFFFFF
##3C5FC71.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6DCB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3c5fc7;
/* rgb */ color: rgb(60, 95, 199);
/* oklch */ color: oklch(51.8% 0.167 266.5);
Tailwind
colors: {
  custom: {
    50: '#828bd9',
    500: '#3c5fc7',
    950: '#000000',
  },
}
SCSS
$custom: #3c5fc7;
$custom-light: #828bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5fc7",
  "rgb": {
    "r": 60,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 224.892,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51821,
    "c": 0.16697,
    "h": 266.5
  },
  "luminance": 0.13269
}

Semantic roles & 50–950 ramp

primary
#3C5FC7
secondary
#CEBF91
accent
#B949DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3C5FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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