#4C6EDC#4C6EDC

#4C6EDC is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.1% C 0.172 H 267.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4C6EDC
RGBrgb(76, 110, 220)
HSLhsl(226, 67%, 58%)
HSVhsv(226, 65%, 86%)
CMYKcmyk(65.5%, 50%, 0%, 13.7%)
CIE-LABlab(49.32, 22.97, -60.01)
CIE-LCHlch(49.32, 64.25, 290.94°)
OKLaboklab(57.15% -0.0068 -0.1721)
OKLCHoklch(57.15% 0.172 267.7)
XYZxyz(21.4703, 17.8537, 70.0109)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6EDC #DCBA4C
analogous
#4CB6DC #4C6EDC #724CDC
triadic
#4C6EDC #DC4C6E #6EDC4C
tetradic
#4C6EDC #DC4CB6 #DCBA4C #4CDC72
square
#4C6EDC #DC4CB6 #DCBA4C #4CDC72
split-complementary
#4C6EDC #DC724C #B6DC4C
monochromatic
#1C3891 #264CC4 #4C6EDC #7F97E6 #B2C1F0

Accessibility & contrast

On white

4.59
#4C6EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4C6EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6EDC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6EDC#FFFFFF#000000##FFFFFF
##4C6EDC1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CE0
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#00889B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c6edc;
/* rgb */ color: rgb(76, 110, 220);
/* oklch */ color: oklch(57.1% 0.172 267.7);
Tailwind
colors: {
  custom: {
    50: '#8d97e7',
    500: '#4c6edc',
    950: '#000000',
  },
}
SCSS
$custom: #4c6edc;
$custom-light: #8d97e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6edc",
  "rgb": {
    "r": 76,
    "g": 110,
    "b": 220
  },
  "hsl": {
    "h": 225.833,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57145,
    "c": 0.17223,
    "h": 267.7
  },
  "luminance": 0.17856
}

Semantic roles & 50–950 ramp

primary
#4C6EDC
secondary
#DFD1A5
accent
#C13EEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4C6EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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