#3C5FAC#3C5FAC

#3C5FAC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.9% C 0.129 H 263.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#3C5FAC
RGBrgb(60, 95, 172)
HSLhsl(221, 48%, 45%)
HSVhsv(221, 65%, 67%)
CMYKcmyk(65.1%, 44.8%, 0%, 32.5%)
CIE-LABlab(41.41, 12.77, -45.03)
CIE-LCHlch(41.41, 46.81, 285.83°)
OKLaboklab(49.92% -0.0137 -0.1286)
OKLCHoklch(49.92% 0.129 263.9)
XYZxyz(13.3995, 12.1224, 40.6554)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5FAC #AC893C
analogous
#3C97AC #3C5FAC #513CAC
triadic
#3C5FAC #AC3C5F #5FAC3C
tetradic
#3C5FAC #AC3C97 #AC893C #3CAC51
square
#3C5FAC #AC3C97 #AC893C #3CAC51
split-complementary
#3C5FAC #AC513C #97AC3C
monochromatic
#1C2D51 #2C467F #3C5FAC #5E7FC7 #8CA3D7

Accessibility & contrast

On white

6.13
#3C5FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3C5FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C5FAC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5FAC#FFFFFF#000000##FFFFFF
##3C5FAC1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A67AF
Deuteranopia (green-blind)
#285DAA
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3c5fac;
/* rgb */ color: rgb(60, 95, 172);
/* oklch */ color: oklch(49.9% 0.129 263.9);
Tailwind
colors: {
  custom: {
    50: '#7d8bc5',
    500: '#3c5fac',
    950: '#000000',
  },
}
SCSS
$custom: #3c5fac;
$custom-light: #7d8bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5fac",
  "rgb": {
    "r": 60,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 221.25,
    "s": 48.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49922,
    "c": 0.12933,
    "h": 263.9
  },
  "luminance": 0.12124
}

Semantic roles & 50–950 ramp

primary
#3C5FAC
secondary
#C1AE82
accent
#AD50D8
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3C5FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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