#4786E5#4786E5

#4786E5 is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.5% C 0.158 H 258.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4786E5
RGBrgb(71, 134, 229)
HSLhsl(216, 75%, 59%)
HSVhsv(216, 69%, 90%)
CMYKcmyk(69%, 41.5%, 0%, 10.2%)
CIE-LABlab(56.13, 10.56, -54.15)
CIE-LCHlch(56.13, 55.17, 281.03°)
OKLaboklab(62.49% -0.0315 -0.1546)
OKLCHoklch(62.49% 0.158 258.5)
XYZxyz(25.2614, 24.0443, 77.4232)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4786E5 #E5A647
analogous
#47D5E5 #4786E5 #5747E5
triadic
#4786E5 #E54786 #86E547
tetradic
#4786E5 #E547D5 #E5A647 #47E557
square
#4786E5 #E547D5 #E5A647 #47E557
split-complementary
#4786E5 #E55747 #D5E547
monochromatic
#164B9C #1E65D1 #4786E5 #7DA9ED #B2CDF4

Accessibility & contrast

On white

3.61
#4786E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#4786E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4786E5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4786E5#FFFFFF#000000##000000
##4786E51.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#598EE9
Deuteranopia (green-blind)
#3F80E3
Tritanopia (blue-blind)
#009CAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4786e5;
/* rgb */ color: rgb(71, 134, 229);
/* oklch */ color: oklch(62.5% 0.158 258.5);
Tailwind
colors: {
  custom: {
    50: '#8ba8ee',
    500: '#4786e5',
    950: '#000000',
  },
}
SCSS
$custom: #4786e5;
$custom-light: #8ba8ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4786e5",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 229
  },
  "hsl": {
    "h": 216.076,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62488,
    "c": 0.15777,
    "h": 258.5
  },
  "luminance": 0.24047
}

Semantic roles & 50–950 ramp

primary
#4786E5
secondary
#E3CAA5
accent
#A736F2
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4786E5

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

Preview Lab → · Contrast checker → · Palette generator →

#4786E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva