#3C5ABC#3C5ABC

#3C5ABC is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.158 H 267.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#3C5ABC
RGBrgb(60, 90, 188)
HSLhsl(226, 52%, 49%)
HSVhsv(226, 68%, 74%)
CMYKcmyk(68.1%, 52.1%, 0%, 26.3%)
CIE-LABlab(41.06, 21.79, -54.98)
CIE-LCHlch(41.06, 59.14, 291.62°)
OKLaboklab(49.99% -0.0067 -0.1579)
OKLCHoklch(49.99% 0.158 267.6)
XYZxyz(14.5936, 11.9024, 49.0955)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5ABC #BC9E3C
analogous
#3C9ABC #3C5ABC #5E3CBC
triadic
#3C5ABC #BC3C5A #5ABC3C
tetradic
#3C5ABC #BC3C9A #BC9E3C #3CBC5E
square
#3C5ABC #BC3C9A #BC9E3C #3CBC5E
split-complementary
#3C5ABC #BC5E3C #9ABC3C
monochromatic
#1E2E5F #2D448E #3C5ABC #677FCE #95A6DD

Accessibility & contrast

On white

6.21
#3C5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3C5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C5ABC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5ABC#FFFFFF#000000##FFFFFF
##3C5ABC1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67BF
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3c5abc;
/* rgb */ color: rgb(60, 90, 188);
/* oklch */ color: oklch(50.0% 0.158 267.6);
Tailwind
colors: {
  custom: {
    50: '#8088d1',
    500: '#3c5abc',
    950: '#000000',
  },
}
SCSS
$custom: #3c5abc;
$custom-light: #8088d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5abc",
  "rgb": {
    "r": 60,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 225.938,
    "s": 51.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49988,
    "c": 0.15808,
    "h": 267.6
  },
  "luminance": 0.11904
}

Semantic roles & 50–950 ramp

primary
#3C5ABC
secondary
#C9BA8B
accent
#BA4DDB
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3C5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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