#3C56C8#3C56C8

#3C56C8 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.1% C 0.179 H 269.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#3C56C8
RGBrgb(60, 86, 200)
HSLhsl(229, 56%, 51%)
HSVhsv(229, 70%, 78%)
CMYKcmyk(70%, 57%, 0%, 21.6%)
CIE-LABlab(40.87, 28.70, -62.27)
CIE-LCHlch(40.87, 68.56, 294.74°)
OKLaboklab(50.12% -0.0026 -0.1794)
OKLCHoklch(50.12% 0.179 269.2)
XYZxyz(15.6130, 11.7848, 56.0843)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C56C8 #C8AE3C
analogous
#3C9CC8 #3C56C8 #683CC8
triadic
#3C56C8 #C83C56 #56C83C
tetradic
#3C56C8 #C83C9C #C8AE3C #3CC868
square
#3C56C8 #C83C9C #C8AE3C #3CC868
split-complementary
#3C56C8 #C8683C #9CC83C
monochromatic
#1E2D6B #2C409B #3C56C8 #6C7FD5 #9BA9E3

Accessibility & contrast

On white

6.26
#3C56C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3C56C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C56C8
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C56C8#FFFFFF#000000##FFFFFF
##3C56C81.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3c56c8;
/* rgb */ color: rgb(60, 86, 200);
/* oklch */ color: oklch(50.1% 0.179 269.2);
Tailwind
colors: {
  custom: {
    50: '#8385da',
    500: '#3c56c8',
    950: '#000000',
  },
}
SCSS
$custom: #3c56c8;
$custom-light: #8385da;
$custom-dark: #000000;
JSON
{
  "hex": "#3c56c8",
  "rgb": {
    "r": 60,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 228.857,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5012,
    "c": 0.17944,
    "h": 269.2
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#3C56C8
secondary
#CFC391
accent
#C349DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3C56C8

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

Preview Lab → · Contrast checker → · Palette generator →

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