#4E81DB#4E81DB

#4E81DB is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.1% C 0.148 H 260.9°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4E81DB
RGBrgb(78, 129, 219)
HSLhsl(218, 66%, 58%)
HSVhsv(218, 64%, 86%)
CMYKcmyk(64.4%, 41.1%, 0%, 14.1%)
CIE-LABlab(54.48, 11.23, -51.16)
CIE-LCHlch(54.48, 52.38, 282.38°)
OKLaboklab(61.11% -0.0233 -0.1458)
OKLCHoklch(61.11% 0.148 260.9)
XYZxyz(23.7738, 22.4324, 70.0811)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81DB #DBA84E
analogous
#4EC7DB #4E81DB #614EDB
triadic
#4E81DB #DB4E81 #81DB4E
tetradic
#4E81DB #DB4EC7 #DBA84E #4EDB61
square
#4E81DB #DB4EC7 #DBA84E #4EDB61
split-complementary
#4E81DB #DB614E #C7DB4E
monochromatic
#1E4791 #2860C4 #4E81DB #81A5E5 #B4C9F0

Accessibility & contrast

On white

3.83
#4E81DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#4E81DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81DB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81DB#FFFFFF#000000##000000
##4E81DB1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5889DF
Deuteranopia (green-blind)
#437CD9
Tritanopia (blue-blind)
#0096A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e81db;
/* rgb */ color: rgb(78, 129, 219);
/* oklch */ color: oklch(61.1% 0.148 260.9);
Tailwind
colors: {
  custom: {
    50: '#8da5e6',
    500: '#4e81db',
    950: '#000000',
  },
}
SCSS
$custom: #4e81db;
$custom-light: #8da5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81db",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 218.298,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6111,
    "c": 0.14764,
    "h": 260.9
  },
  "luminance": 0.22435
}

Semantic roles & 50–950 ramp

primary
#4E81DB
secondary
#DECAA6
accent
#AB3FE9
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E81DB

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

Preview Lab → · Contrast checker → · Palette generator →

#4E81DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva