#3C5AC2#3C5AC2

#3C5AC2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.166 H 267.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#3C5AC2
RGBrgb(60, 90, 194)
HSLhsl(227, 53%, 50%)
HSVhsv(227, 69%, 76%)
CMYKcmyk(69.1%, 53.6%, 0%, 23.9%)
CIE-LABlab(41.48, 23.96, -57.80)
CIE-LCHlch(41.48, 62.57, 292.52°)
OKLaboklab(50.44% -0.0062 -0.1662)
OKLCHoklch(50.44% 0.166 267.9)
XYZxyz(15.2539, 12.1665, 52.5730)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5AC2 #C2A43C
analogous
#3C9DC2 #3C5AC2 #613CC2
triadic
#3C5AC2 #C23C5A #5AC23C
tetradic
#3C5AC2 #C23C9D #C2A43C #3CC261
square
#3C5AC2 #C23C9D #C2A43C #3CC261
split-complementary
#3C5AC2 #C2613C #9DC23C
monochromatic
#1F2F65 #2E4493 #3C5AC2 #6A81D1 #99A9DF

Accessibility & contrast

On white

6.12
#3C5AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3C5AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C5AC2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5AC2#FFFFFF#000000##FFFFFF
##3C5AC21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D68C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3c5ac2;
/* rgb */ color: rgb(60, 90, 194);
/* oklch */ color: oklch(50.4% 0.166 267.9);
Tailwind
colors: {
  custom: {
    50: '#8288d5',
    500: '#3c5ac2',
    950: '#000000',
  },
}
SCSS
$custom: #3c5ac2;
$custom-light: #8288d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5ac2",
  "rgb": {
    "r": 60,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 226.567,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50438,
    "c": 0.16635,
    "h": 267.9
  },
  "luminance": 0.12168
}

Semantic roles & 50–950 ramp

primary
#3C5AC2
secondary
#CBBE8F
accent
#BC4CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3C5AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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