#4C6AE2#4C6AE2

#4C6AE2 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.8% C 0.185 H 269.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4C6AE2
RGBrgb(76, 106, 226)
HSLhsl(228, 72%, 59%)
HSVhsv(228, 66%, 89%)
CMYKcmyk(66.4%, 53.1%, 0%, 11.4%)
CIE-LABlab(48.68, 27.55, -64.43)
CIE-LCHlch(48.68, 70.07, 293.15°)
OKLaboklab(56.79% -0.0027 -0.1852)
OKLCHoklch(56.79% 0.185 269.2)
XYZxyz(21.8573, 17.3335, 74.1306)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6AE2 #E2C44C
analogous
#4CB5E2 #4C6AE2 #794CE2
triadic
#4C6AE2 #E24C6A #6AE24C
tetradic
#4C6AE2 #E24CB5 #E2C44C #4CE279
square
#4C6AE2 #E24CB5 #E2C44C #4CE279
split-complementary
#4C6AE2 #E2794C #B5E24C
monochromatic
#19339B #2244CF #4C6AE2 #8196EB #B5C2F3

Accessibility & contrast

On white

4.70
#4C6AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4C6AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6AE2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6AE2#FFFFFF#000000##FFFFFF
##4C6AE21.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#147BE6
Deuteranopia (green-blind)
#006DE0
Tritanopia (blue-blind)
#00879C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c6ae2;
/* rgb */ color: rgb(76, 106, 226);
/* oklch */ color: oklch(56.8% 0.185 269.2);
Tailwind
colors: {
  custom: {
    50: '#8e94ec',
    500: '#4c6ae2',
    950: '#000000',
  },
}
SCSS
$custom: #4c6ae2;
$custom-light: #8e94ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6ae2",
  "rgb": {
    "r": 76,
    "g": 106,
    "b": 226
  },
  "hsl": {
    "h": 228,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56788,
    "c": 0.1852,
    "h": 269.2
  },
  "luminance": 0.17336
}

Semantic roles & 50–950 ramp

primary
#4C6AE2
secondary
#E2D6A8
accent
#CA39EF
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4C6AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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