#4C6CCF#4C6CCF

#4C6CCF is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.9% C 0.157 H 267.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4C6CCF
RGBrgb(76, 108, 207)
HSLhsl(225, 58%, 55%)
HSVhsv(225, 63%, 81%)
CMYKcmyk(63.3%, 47.8%, 0%, 18.8%)
CIE-LABlab(47.96, 19.71, -54.79)
CIE-LCHlch(47.96, 58.23, 289.78°)
OKLaboklab(55.85% -0.0064 -0.1568)
OKLCHoklch(55.85% 0.157 267.6)
XYZxyz(19.6017, 16.7649, 61.2223)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6CCF #CFAF4C
analogous
#4CADCF #4C6CCF #6E4CCF
triadic
#4C6CCF #CF4C6C #6CCF4C
tetradic
#4C6CCF #CF4CAD #CFAF4C #4CCF6E
square
#4C6CCF #CF4CAD #CFAF4C #4CCF6E
split-complementary
#4C6CCF #CF6E4C #ADCF4C
monochromatic
#22397F #2F4EAF #4C6CCF #7C94DC #ADBBE9

Accessibility & contrast

On white

4.82
#4C6CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4C6CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6CCF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6CCF#FFFFFF#000000##FFFFFF
##4C6CCF1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3978D3
Deuteranopia (green-blind)
#1F6CCD
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4c6ccf;
/* rgb */ color: rgb(76, 108, 207);
/* oklch */ color: oklch(55.9% 0.157 267.6);
Tailwind
colors: {
  custom: {
    50: '#8a95de',
    500: '#4c6ccf',
    950: '#000000',
  },
}
SCSS
$custom: #4c6ccf;
$custom-light: #8a95de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6ccf",
  "rgb": {
    "r": 76,
    "g": 108,
    "b": 207
  },
  "hsl": {
    "h": 225.344,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5585,
    "c": 0.15693,
    "h": 267.6
  },
  "luminance": 0.16767
}

Semantic roles & 50–950 ramp

primary
#4C6CCF
secondary
#D7C9A0
accent
#BB47E1
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4C6CCF

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

Preview Lab → · Contrast checker → · Palette generator →

#4C6CCF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva