#4C6CE5#4C6CE5

#4C6CE5 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.4% C 0.187 H 268.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#4C6CE5
RGBrgb(76, 108, 229)
HSLhsl(227, 75%, 60%)
HSVhsv(227, 67%, 90%)
CMYKcmyk(66.8%, 52.8%, 0%, 10.2%)
CIE-LABlab(49.39, 27.34, -64.96)
CIE-LCHlch(49.39, 70.48, 292.83°)
OKLaboklab(57.39% -0.0042 -0.1867)
OKLCHoklch(57.39% 0.187 268.7)
XYZxyz(22.4811, 17.9166, 76.3870)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6CE5 #E5C54C
analogous
#4CB9E5 #4C6CE5 #794CE5
triadic
#4C6CE5 #E54C6C #6CE54C
tetradic
#4C6CE5 #E54CB9 #E5C54C #4CE579
square
#4C6CE5 #E54CB9 #E5C54C #4CE579
split-complementary
#4C6CE5 #E5794C #B9E54C
monochromatic
#17349F #1F45D5 #4C6CE5 #8198ED #B7C4F5

Accessibility & contrast

On white

4.58
#4C6CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4C6CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C6CE5
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6CE5#FFFFFF#000000##000000
##4C6CE51.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#177DE9
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#00899E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c6ce5;
/* rgb */ color: rgb(76, 108, 229);
/* oklch */ color: oklch(57.4% 0.187 268.7);
Tailwind
colors: {
  custom: {
    50: '#8e95ee',
    500: '#4c6ce5',
    950: '#000000',
  },
}
SCSS
$custom: #4c6ce5;
$custom-light: #8e95ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6ce5",
  "rgb": {
    "r": 76,
    "g": 108,
    "b": 229
  },
  "hsl": {
    "h": 227.451,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57393,
    "c": 0.18676,
    "h": 268.7
  },
  "luminance": 0.17919
}

Semantic roles & 50–950 ramp

primary
#4C6CE5
secondary
#E4D8A9
accent
#CA37F1
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4C6CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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