#3C5FC5#3C5FC5

#3C5FC5 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.7% C 0.164 H 266.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#3C5FC5
RGBrgb(60, 95, 197)
HSLhsl(225, 54%, 50%)
HSVhsv(225, 70%, 77%)
CMYKcmyk(69.5%, 51.8%, 0%, 22.7%)
CIE-LABlab(43.03, 21.83, -57.04)
CIE-LCHlch(43.03, 61.07, 290.94°)
OKLaboklab(51.67% -0.0103 -0.1639)
OKLCHoklch(51.67% 0.164 266.4)
XYZxyz(16.0302, 13.1747, 54.5107)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5FC5 #C5A23C
analogous
#3CA3C5 #3C5FC5 #5E3CC5
triadic
#3C5FC5 #C53C5F #5FC53C
tetradic
#3C5FC5 #C53CA3 #C5A23C #3CC55E
square
#3C5FC5 #C53CA3 #C5A23C #3CC55E
split-complementary
#3C5FC5 #C55E3C #A3C53C
monochromatic
#1F3168 #2D4897 #3C5FC5 #6B86D3 #9AACE1

Accessibility & contrast

On white

5.78
#3C5FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3C5FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C5FC5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5FC5#FFFFFF#000000##FFFFFF
##3C5FC51.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6CC9
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3c5fc5;
/* rgb */ color: rgb(60, 95, 197);
/* oklch */ color: oklch(51.7% 0.164 266.4);
Tailwind
colors: {
  custom: {
    50: '#828bd7',
    500: '#3c5fc5',
    950: '#000000',
  },
}
SCSS
$custom: #3c5fc5;
$custom-light: #828bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5fc5",
  "rgb": {
    "r": 60,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 224.672,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51673,
    "c": 0.16423,
    "h": 266.4
  },
  "luminance": 0.13176
}

Semantic roles & 50–950 ramp

primary
#3C5FC5
secondary
#CDBD90
accent
#B84ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3C5FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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