#4C6BE2#4C6BE2

#4C6BE2 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.0% C 0.184 H 268.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4C6BE2
RGBrgb(76, 107, 226)
HSLhsl(228, 72%, 59%)
HSVhsv(228, 66%, 89%)
CMYKcmyk(66.4%, 52.7%, 0%, 11.4%)
CIE-LABlab(48.93, 26.92, -64.02)
CIE-LCHlch(48.93, 69.45, 292.81°)
OKLaboklab(56.98% -0.0036 -0.1839)
OKLCHoklch(56.98% 0.184 268.9)
XYZxyz(21.9610, 17.5408, 74.1651)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6BE2 #E2C34C
analogous
#4CB6E2 #4C6BE2 #784CE2
triadic
#4C6BE2 #E24C6B #6BE24C
tetradic
#4C6BE2 #E24CB6 #E2C34C #4CE278
square
#4C6BE2 #E24CB6 #E2C34C #4CE278
split-complementary
#4C6BE2 #E2784C #B6E24C
monochromatic
#19349B #2245CF #4C6BE2 #8197EB #B5C2F3

Accessibility & contrast

On white

4.66
#4C6BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#4C6BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6BE2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6BE2#FFFFFF#000000##FFFFFF
##4C6BE21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c6be2;
/* rgb */ color: rgb(76, 107, 226);
/* oklch */ color: oklch(57.0% 0.184 268.9);
Tailwind
colors: {
  custom: {
    50: '#8e94ec',
    500: '#4c6be2',
    950: '#000000',
  },
}
SCSS
$custom: #4c6be2;
$custom-light: #8e94ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6be2",
  "rgb": {
    "r": 76,
    "g": 107,
    "b": 226
  },
  "hsl": {
    "h": 227.6,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56981,
    "c": 0.18398,
    "h": 268.9
  },
  "luminance": 0.17543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C6BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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