#4782E1#4782E1

#4782E1 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.4% C 0.157 H 259.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4782E1
RGBrgb(71, 130, 225)
HSLhsl(217, 72%, 58%)
HSVhsv(217, 68%, 88%)
CMYKcmyk(68.4%, 42.2%, 0%, 11.8%)
CIE-LABlab(54.80, 11.58, -54.03)
CIE-LCHlch(54.80, 55.26, 282.10°)
OKLaboklab(61.39% -0.0286 -0.1543)
OKLCHoklch(61.39% 0.157 259.5)
XYZxyz(24.1669, 22.7386, 74.3349)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4782E1 #E1A647
analogous
#47CFE1 #4782E1 #5947E1
triadic
#4782E1 #E14782 #82E147
tetradic
#4782E1 #E147CF #E1A647 #47E159
square
#4782E1 #E147CF #E1A647 #47E159
split-complementary
#4782E1 #E15947 #CFE147
monochromatic
#184895 #2162CA #4782E1 #7CA6EA #B0C9F2

Accessibility & contrast

On white

3.79
#4782E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#4782E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4782E1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4782E1#FFFFFF#000000##000000
##4782E11.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#558BE5
Deuteranopia (green-blind)
#3B7DDF
Tritanopia (blue-blind)
#0098A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4782e1;
/* rgb */ color: rgb(71, 130, 225);
/* oklch */ color: oklch(61.4% 0.157 259.5);
Tailwind
colors: {
  custom: {
    50: '#8ba5eb',
    500: '#4782e1',
    950: '#000000',
  },
}
SCSS
$custom: #4782e1;
$custom-light: #8ba5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4782e1",
  "rgb": {
    "r": 71,
    "g": 130,
    "b": 225
  },
  "hsl": {
    "h": 217.013,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61385,
    "c": 0.15695,
    "h": 259.5
  },
  "luminance": 0.22741
}

Semantic roles & 50–950 ramp

primary
#4782E1
secondary
#E1C9A3
accent
#A939EF
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4782E1

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

Preview Lab → · Contrast checker → · Palette generator →

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