#3C5BCB#3C5BCB

#3C5BCB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.177 H 267.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3C5BCB
RGBrgb(60, 91, 203)
HSLhsl(227, 58%, 52%)
HSVhsv(227, 70%, 80%)
CMYKcmyk(70.4%, 55.2%, 0%, 20.4%)
CIE-LABlab(42.39, 26.57, -61.54)
CIE-LCHlch(42.39, 67.03, 293.36°)
OKLaboklab(51.33% -0.0065 -0.1772)
OKLCHoklch(51.33% 0.177 267.9)
XYZxyz(16.3803, 12.7530, 58.0866)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5BCB #CBAC3C
analogous
#3CA3CB #3C5BCB #653CCB
triadic
#3C5BCB #CB3C5B #5BCB3C
tetradic
#3C5BCB #CB3CA3 #CBAC3C #3CCB65
square
#3C5BCB #CB3CA3 #CBAC3C #3CCB65
split-complementary
#3C5BCB #CB653C #A3CB3C
monochromatic
#1E2F6F #2A449F #3C5BCB #6C84D8 #9DACE5

Accessibility & contrast

On white

5.91
#3C5BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3C5BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C5BCB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5BCB#FFFFFF#000000##FFFFFF
##3C5BCB1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#00768A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3c5bcb;
/* rgb */ color: rgb(60, 91, 203);
/* oklch */ color: oklch(51.3% 0.177 267.9);
Tailwind
colors: {
  custom: {
    50: '#8389dc',
    500: '#3c5bcb',
    950: '#000000',
  },
}
SCSS
$custom: #3c5bcb;
$custom-light: #8389dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5bcb",
  "rgb": {
    "r": 60,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 226.993,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51327,
    "c": 0.17733,
    "h": 267.9
  },
  "luminance": 0.12755
}

Semantic roles & 50–950 ramp

primary
#3C5BCB
secondary
#D1C392
accent
#C047E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3C5BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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