#4786EE#4786EE

#4786EE is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.0% C 0.170 H 259.9°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4786EE
RGBrgb(71, 134, 238)
HSLhsl(217, 83%, 61%)
HSVhsv(217, 70%, 93%)
CMYKcmyk(70.2%, 43.7%, 0%, 6.7%)
CIE-LABlab(56.64, 13.73, -58.34)
CIE-LCHlch(56.64, 59.93, 283.24°)
OKLaboklab(63.05% -0.0298 -0.1669)
OKLCHoklch(63.05% 0.17 259.9)
XYZxyz(26.5507, 24.5600, 84.2136)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4786EE #EEAF47
analogous
#47DAEE #4786EE #5B47EE
triadic
#4786EE #EE4786 #86EE47
tetradic
#4786EE #EE47DA #EEAF47 #47EE5B
square
#4786EE #EE47DA #EEAF47 #47EE5B
split-complementary
#4786EE #EE5B47 #DAEE47
monochromatic
#104AAB #1563E3 #4786EE #7FABF3 #B7D0F8

Accessibility & contrast

On white

3.55
#4786EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#4786EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4786EE
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4786EE#FFFFFF#000000##000000
##4786EE1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F2
Deuteranopia (green-blind)
#3381EC
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4786ee;
/* rgb */ color: rgb(71, 134, 238);
/* oklch */ color: oklch(63.0% 0.170 259.9);
Tailwind
colors: {
  custom: {
    50: '#8da8f4',
    500: '#4786ee',
    950: '#000000',
  },
}
SCSS
$custom: #4786ee;
$custom-light: #8da8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4786ee",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 217.365,
    "s": 83.085,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63049,
    "c": 0.16954,
    "h": 259.9
  },
  "luminance": 0.24563
}

Semantic roles & 50–950 ramp

primary
#4786EE
secondary
#E8D0A9
accent
#8D06E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4786EE

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

Preview Lab → · Contrast checker → · Palette generator →

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