#4C6FEC#4C6FEC

#4C6FEC is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.5% C 0.192 H 268.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4C6FEC
RGBrgb(76, 111, 236)
HSLhsl(227, 81%, 61%)
HSVhsv(227, 68%, 93%)
CMYKcmyk(67.8%, 53%, 0%, 7.5%)
CIE-LABlab(50.64, 27.91, -66.88)
CIE-LCHlch(50.64, 72.47, 292.65°)
OKLaboklab(58.48% -0.0063 -0.1923)
OKLCHoklch(58.48% 0.192 268.1)
XYZxyz(23.8000, 18.9592, 81.7458)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6FEC #ECC94C
analogous
#4CBFEC #4C6FEC #794CEC
triadic
#4C6FEC #EC4C6F #6FEC4C
tetradic
#4C6FEC #EC4CBF #ECC94C #4CEC79
square
#4C6FEC #EC4CBF #ECC94C #4CEC79
split-complementary
#4C6FEC #EC794C #BFEC4C
monochromatic
#1234AB #1844E3 #4C6FEC #839CF2 #BBC8F8

Accessibility & contrast

On white

4.38
#4C6FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4C6FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C6FEC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6FEC#FFFFFF#000000##000000
##4C6FEC1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1380F0
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4c6fec;
/* rgb */ color: rgb(76, 111, 236);
/* oklch */ color: oklch(58.5% 0.192 268.1);
Tailwind
colors: {
  custom: {
    50: '#8f97f3',
    500: '#4c6fec',
    950: '#000000',
  },
}
SCSS
$custom: #4c6fec;
$custom-light: #8f97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6fec",
  "rgb": {
    "r": 76,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 226.875,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58483,
    "c": 0.19241,
    "h": 268.1
  },
  "luminance": 0.18962
}

Semantic roles & 50–950 ramp

primary
#4C6FEC
secondary
#E8DBAC
accent
#AF08DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4C6FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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