#3C5ED5#3C5ED5

#3C5ED5 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.187 H 267.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#3C5ED5
RGBrgb(60, 94, 213)
HSLhsl(227, 65%, 54%)
HSVhsv(227, 72%, 84%)
CMYKcmyk(71.8%, 55.9%, 0%, 16.5%)
CIE-LABlab(43.90, 28.27, -64.83)
CIE-LCHlch(43.90, 70.72, 293.56°)
OKLaboklab(52.69% -0.0083 -0.1868)
OKLCHoklch(52.69% 0.187 267.5)
XYZxyz(17.8723, 13.7683, 64.6535)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5ED5 #D5B33C
analogous
#3CAAD5 #3C5ED5 #663CD5
triadic
#3C5ED5 #D53C5E #5ED53C
tetradic
#3C5ED5 #D53CAA #D5B33C #3CD566
square
#3C5ED5 #D53CAA #D5B33C #3CD566
split-complementary
#3C5ED5 #D5663C #AAD53C
monochromatic
#1B307C #2644AE #3C5ED5 #6E88E0 #A1B1EB

Accessibility & contrast

On white

5.59
#3C5ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#3C5ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C5ED5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5ED5#FFFFFF#000000##FFFFFF
##3C5ED51.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#0061D3
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3c5ed5;
/* rgb */ color: rgb(60, 94, 213);
/* oklch */ color: oklch(52.7% 0.187 267.5);
Tailwind
colors: {
  custom: {
    50: '#858be3',
    500: '#3c5ed5',
    950: '#000000',
  },
}
SCSS
$custom: #3c5ed5;
$custom-light: #858be3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5ed5",
  "rgb": {
    "r": 60,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 226.667,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52692,
    "c": 0.18703,
    "h": 267.5
  },
  "luminance": 0.1377
}

Semantic roles & 50–950 ramp

primary
#3C5ED5
secondary
#D7C996
accent
#C240E8
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0D0B15
muted
#7D7C84

Preview Lab

Preview with #3C5ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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