#4781E0#4781E0

#4781E0 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.1% C 0.157 H 259.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4781E0
RGBrgb(71, 129, 224)
HSLhsl(217, 71%, 58%)
HSVhsv(217, 68%, 88%)
CMYKcmyk(68.3%, 42.4%, 0%, 12.2%)
CIE-LABlab(54.47, 11.84, -54.00)
CIE-LCHlch(54.47, 55.29, 282.36°)
OKLaboklab(61.11% -0.0278 -0.1543)
OKLCHoklch(61.11% 0.157 259.8)
XYZxyz(23.8985, 22.4195, 73.5745)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4781E0 #E0A647
analogous
#47CDE0 #4781E0 #5947E0
triadic
#4781E0 #E04781 #81E047
tetradic
#4781E0 #E047CD #E0A647 #47E059
square
#4781E0 #E047CD #E0A647 #47E059
split-complementary
#4781E0 #E05947 #CDE047
monochromatic
#194794 #2261C8 #4781E0 #7BA5E9 #B0C9F2

Accessibility & contrast

On white

3.83
#4781E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#4781E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4781E0
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4781E0#FFFFFF#000000##000000
##4781E01.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#548AE4
Deuteranopia (green-blind)
#3A7CDE
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4781e0;
/* rgb */ color: rgb(71, 129, 224);
/* oklch */ color: oklch(61.1% 0.157 259.8);
Tailwind
colors: {
  custom: {
    50: '#8aa5ea',
    500: '#4781e0',
    950: '#000000',
  },
}
SCSS
$custom: #4781e0;
$custom-light: #8aa5ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4781e0",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 224
  },
  "hsl": {
    "h": 217.255,
    "s": 71.163,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6111,
    "c": 0.15675,
    "h": 259.8
  },
  "luminance": 0.22422
}

Semantic roles & 50–950 ramp

primary
#4781E0
secondary
#E0C9A3
accent
#AA3AEE
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4781E0

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

Preview Lab → · Contrast checker → · Palette generator →

#4781E0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva