#4778E4#4778E4

#4778E4 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.5% C 0.172 H 263.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4778E4
RGBrgb(71, 120, 228)
HSLhsl(221, 74%, 59%)
HSVhsv(221, 69%, 89%)
CMYKcmyk(68.9%, 47.4%, 0%, 10.6%)
CIE-LABlab(52.25, 18.79, -59.80)
CIE-LCHlch(52.25, 62.68, 287.44°)
OKLaboklab(59.48% -0.0191 -0.1714)
OKLCHoklch(59.48% 0.173 263.6)
XYZxyz(23.3137, 20.3716, 76.0872)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4778E4 #E4B347
analogous
#47C6E4 #4778E4 #6447E4
triadic
#4778E4 #E44778 #78E447
tetradic
#4778E4 #E447C6 #E4B347 #47E464
square
#4778E4 #E447C6 #E4B347 #47E464
split-complementary
#4778E4 #E46447 #C6E447
monochromatic
#17409A #1E56CF #4778E4 #7C9FEC #B2C6F4

Accessibility & contrast

On white

4.14
#4778E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4778E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4778E4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4778E4#FFFFFF#000000##000000
##4778E41.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E84E8
Deuteranopia (green-blind)
#1676E2
Tritanopia (blue-blind)
#0091A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4778e4;
/* rgb */ color: rgb(71, 120, 228);
/* oklch */ color: oklch(59.5% 0.172 263.6);
Tailwind
colors: {
  custom: {
    50: '#8b9eed',
    500: '#4778e4',
    950: '#000000',
  },
}
SCSS
$custom: #4778e4;
$custom-light: #8b9eed;
$custom-dark: #000000;
JSON
{
  "hex": "#4778e4",
  "rgb": {
    "r": 71,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 221.274,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59483,
    "c": 0.1725,
    "h": 263.6
  },
  "luminance": 0.20374
}

Semantic roles & 50–950 ramp

primary
#4778E4
secondary
#E2CFA4
accent
#B737F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4778E4

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

Preview Lab → · Contrast checker → · Palette generator →

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