#3C5CCB#3C5CCB

#3C5CCB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.176 H 267.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#3C5CCB
RGBrgb(60, 92, 203)
HSLhsl(227, 58%, 52%)
HSVhsv(227, 70%, 80%)
CMYKcmyk(70.4%, 54.7%, 0%, 20.4%)
CIE-LABlab(42.65, 25.93, -61.11)
CIE-LCHlch(42.65, 66.39, 292.99°)
OKLaboklab(51.52% -0.0073 -0.1759)
OKLCHoklch(51.52% 0.176 267.6)
XYZxyz(16.4664, 12.9251, 58.1153)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5CCB #CBAB3C
analogous
#3CA4CB #3C5CCB #643CCB
triadic
#3C5CCB #CB3C5C #5CCB3C
tetradic
#3C5CCB #CB3CA4 #CBAB3C #3CCB64
square
#3C5CCB #CB3CA4 #CBAB3C #3CCB64
split-complementary
#3C5CCB #CB643C #A4CB3C
monochromatic
#1E306F #2A459F #3C5CCB #6C84D8 #9DADE5

Accessibility & contrast

On white

5.86
#3C5CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3C5CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C5CCB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5CCB#FFFFFF#000000##FFFFFF
##3C5CCB1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3c5ccb;
/* rgb */ color: rgb(60, 92, 203);
/* oklch */ color: oklch(51.5% 0.176 267.6);
Tailwind
colors: {
  custom: {
    50: '#8389dc',
    500: '#3c5ccb',
    950: '#000000',
  },
}
SCSS
$custom: #3c5ccb;
$custom-light: #8389dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5ccb",
  "rgb": {
    "r": 60,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 226.573,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51524,
    "c": 0.17609,
    "h": 267.6
  },
  "luminance": 0.12927
}

Semantic roles & 50–950 ramp

primary
#3C5CCB
secondary
#D1C392
accent
#BF47E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3C5CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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