#3C5FC8#3C5FC8

#3C5FC8 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.168 H 266.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#3C5FC8
RGBrgb(60, 95, 200)
HSLhsl(225, 56%, 51%)
HSVhsv(225, 70%, 78%)
CMYKcmyk(70%, 52.5%, 0%, 21.6%)
CIE-LABlab(43.23, 22.92, -58.44)
CIE-LCHlch(43.23, 62.77, 291.42°)
OKLaboklab(51.9% -0.01 -0.168)
OKLCHoklch(51.9% 0.168 266.6)
XYZxyz(16.3774, 13.3135, 56.3390)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5FC8 #C8A53C
analogous
#3CA5C8 #3C5FC8 #5F3CC8
triadic
#3C5FC8 #C83C5F #5FC83C
tetradic
#3C5FC8 #C83CA5 #C8A53C #3CC85F
square
#3C5FC8 #C83CA5 #C8A53C #3CC85F
split-complementary
#3C5FC8 #C85F3C #A5C83C
monochromatic
#1E326B #2C489B #3C5FC8 #6C86D5 #9BADE3

Accessibility & contrast

On white

5.73
#3C5FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#3C5FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C5FC8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5FC8#FFFFFF#000000##FFFFFF
##3C5FC81.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186DCC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3c5fc8;
/* rgb */ color: rgb(60, 95, 200);
/* oklch */ color: oklch(51.9% 0.168 266.6);
Tailwind
colors: {
  custom: {
    50: '#838bd9',
    500: '#3c5fc8',
    950: '#000000',
  },
}
SCSS
$custom: #3c5fc8;
$custom-light: #838bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5fc8",
  "rgb": {
    "r": 60,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 225,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51896,
    "c": 0.16833,
    "h": 266.6
  },
  "luminance": 0.13315
}

Semantic roles & 50–950 ramp

primary
#3C5FC8
secondary
#CFBF91
accent
#BA49DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3C5FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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