#4785E4#4785E4

#4785E4 is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.2% C 0.158 H 258.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4785E4
RGBrgb(71, 133, 228)
HSLhsl(216, 74%, 59%)
HSVhsv(216, 69%, 89%)
CMYKcmyk(68.9%, 41.7%, 0%, 10.6%)
CIE-LABlab(55.80, 10.81, -54.12)
CIE-LCHlch(55.80, 55.19, 281.30°)
OKLaboklab(62.21% -0.0307 -0.1545)
OKLCHoklch(62.21% 0.158 258.7)
XYZxyz(24.9846, 23.7135, 76.6442)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4785E4 #E4A647
analogous
#47D3E4 #4785E4 #5747E4
triadic
#4785E4 #E44785 #85E447
tetradic
#4785E4 #E447D3 #E4A647 #47E457
square
#4785E4 #E447D3 #E4A647 #47E457
split-complementary
#4785E4 #E45747 #D3E447
monochromatic
#174A9A #1E64CF #4785E4 #7CA8EC #B2CCF4

Accessibility & contrast

On white

3.66
#4785E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#4785E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4785E4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4785E4#FFFFFF#000000##000000
##4785E41.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#588EE8
Deuteranopia (green-blind)
#3E7FE2
Tritanopia (blue-blind)
#009BA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4785e4;
/* rgb */ color: rgb(71, 133, 228);
/* oklch */ color: oklch(62.2% 0.158 258.7);
Tailwind
colors: {
  custom: {
    50: '#8ba8ed',
    500: '#4785e4',
    950: '#000000',
  },
}
SCSS
$custom: #4785e4;
$custom-light: #8ba8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4785e4",
  "rgb": {
    "r": 71,
    "g": 133,
    "b": 228
  },
  "hsl": {
    "h": 216.306,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62212,
    "c": 0.15756,
    "h": 258.7
  },
  "luminance": 0.23716
}

Semantic roles & 50–950 ramp

primary
#4785E4
secondary
#E2CAA4
accent
#A737F1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4785E4

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

Preview Lab → · Contrast checker → · Palette generator →

#4785E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva