#4786E2#4786E2

#4786E2 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.3% C 0.154 H 258.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4786E2
RGBrgb(71, 134, 226)
HSLhsl(216, 73%, 58%)
HSVhsv(216, 69%, 89%)
CMYKcmyk(68.6%, 40.7%, 0%, 11.4%)
CIE-LABlab(55.97, 9.50, -52.74)
CIE-LCHlch(55.97, 53.59, 280.22°)
OKLaboklab(62.31% -0.0321 -0.1505)
OKLCHoklch(62.31% 0.154 258)
XYZxyz(24.8461, 23.8782, 75.2363)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4786E2 #E2A347
analogous
#47D3E2 #4786E2 #5547E2
triadic
#4786E2 #E24786 #86E247
tetradic
#4786E2 #E247D3 #E2A347 #47E255
square
#4786E2 #E247D3 #E2A347 #47E255
split-complementary
#4786E2 #E25547 #D3E247
monochromatic
#184B97 #2066CC #4786E2 #7CA9EA #B1CCF3

Accessibility & contrast

On white

3.64
#4786E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#4786E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4786E2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4786E2#FFFFFF#000000##000000
##4786E21.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8EE6
Deuteranopia (green-blind)
#427FE0
Tritanopia (blue-blind)
#009BA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4786e2;
/* rgb */ color: rgb(71, 134, 226);
/* oklch */ color: oklch(62.3% 0.154 258.0);
Tailwind
colors: {
  custom: {
    50: '#8ba8eb',
    500: '#4786e2',
    950: '#000000',
  },
}
SCSS
$custom: #4786e2;
$custom-light: #8ba8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4786e2",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 226
  },
  "hsl": {
    "h": 215.613,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62305,
    "c": 0.15384,
    "h": 258
  },
  "luminance": 0.23881
}

Semantic roles & 50–950 ramp

primary
#4786E2
secondary
#E1C8A4
accent
#A538EF
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4786E2

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

Preview Lab → · Contrast checker → · Palette generator →

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