#4782E2#4782E2

#4782E2 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.4% C 0.158 H 259.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4782E2
RGBrgb(71, 130, 226)
HSLhsl(217, 73%, 58%)
HSVhsv(217, 69%, 89%)
CMYKcmyk(68.6%, 42.5%, 0%, 11.4%)
CIE-LABlab(54.86, 11.93, -54.50)
CIE-LCHlch(54.86, 55.79, 282.35°)
OKLaboklab(61.45% -0.0284 -0.1557)
OKLCHoklch(61.45% 0.158 259.7)
XYZxyz(24.3037, 22.7933, 75.0555)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4782E2 #E2A747
analogous
#47D0E2 #4782E2 #5947E2
triadic
#4782E2 #E24782 #82E247
tetradic
#4782E2 #E247D0 #E2A747 #47E259
square
#4782E2 #E247D0 #E2A747 #47E259
split-complementary
#4782E2 #E25947 #D0E247
monochromatic
#184897 #2061CC #4782E2 #7CA6EA #B1CAF3

Accessibility & contrast

On white

3.78
#4782E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#4782E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4782E2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4782E2#FFFFFF#000000##000000
##4782E21.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#548BE6
Deuteranopia (green-blind)
#3A7DE0
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4782e2;
/* rgb */ color: rgb(71, 130, 226);
/* oklch */ color: oklch(61.4% 0.158 259.7);
Tailwind
colors: {
  custom: {
    50: '#8ba5ec',
    500: '#4782e2',
    950: '#000000',
  },
}
SCSS
$custom: #4782e2;
$custom-light: #8ba5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4782e2",
  "rgb": {
    "r": 71,
    "g": 130,
    "b": 226
  },
  "hsl": {
    "h": 217.161,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61448,
    "c": 0.15828,
    "h": 259.7
  },
  "luminance": 0.22796
}

Semantic roles & 50–950 ramp

primary
#4782E2
secondary
#E1CAA4
accent
#AA38EF
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4782E2

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

Preview Lab → · Contrast checker → · Palette generator →

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