#3C5ECB#3C5ECB

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

Color values

HEX#3C5ECB
RGBrgb(60, 94, 203)
HSLhsl(226, 58%, 52%)
HSVhsv(226, 70%, 80%)
CMYKcmyk(70.4%, 53.7%, 0%, 20.4%)
CIE-LABlab(43.18, 24.65, -60.26)
CIE-LCHlch(43.18, 65.11, 292.25°)
OKLaboklab(51.92% -0.0089 -0.1734)
OKLCHoklch(51.92% 0.174 267.1)
XYZxyz(16.6419, 13.2762, 58.1738)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5ECB #CBA93C
analogous
#3CA6CB #3C5ECB #623CCB
triadic
#3C5ECB #CB3C5E #5ECB3C
tetradic
#3C5ECB #CB3CA6 #CBA93C #3CCB62
square
#3C5ECB #CB3CA6 #CBA93C #3CCB62
split-complementary
#3C5ECB #CB623C #A6CB3C
monochromatic
#1E316F #2A469F #3C5ECB #6C86D8 #9DAEE5

Accessibility & contrast

On white

5.74
#3C5ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3C5ECB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5ECB#FFFFFF#000000##FFFFFF
##3C5ECB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086DCF
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3c5ecb;
/* rgb */ color: rgb(60, 94, 203);
/* oklch */ color: oklch(51.9% 0.174 267.1);
Tailwind
colors: {
  custom: {
    50: '#838bdc',
    500: '#3c5ecb',
    950: '#000000',
  },
}
SCSS
$custom: #3c5ecb;
$custom-light: #838bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5ecb",
  "rgb": {
    "r": 60,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 225.734,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5192,
    "c": 0.17363,
    "h": 267.1
  },
  "luminance": 0.13278
}

Semantic roles & 50–950 ramp

primary
#3C5ECB
secondary
#D1C292
accent
#BC47E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3C5ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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