#4E81DF#4E81DF

#4E81DF is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.4% C 0.153 H 261.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4E81DF
RGBrgb(78, 129, 223)
HSLhsl(219, 69%, 59%)
HSVhsv(219, 65%, 87%)
CMYKcmyk(65%, 42.2%, 0%, 12.5%)
CIE-LABlab(54.71, 12.61, -53.05)
CIE-LCHlch(54.71, 54.53, 283.37°)
OKLaboklab(61.35% -0.0225 -0.1513)
OKLCHoklch(61.35% 0.153 261.5)
XYZxyz(24.3067, 22.6456, 72.8878)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81DF #DFAC4E
analogous
#4EC9DF #4E81DF #644EDF
triadic
#4E81DF #DF4E81 #81DF4E
tetradic
#4E81DF #DF4EC9 #DFAC4E #4EDF64
square
#4E81DF #DF4EC9 #DFAC4E #4EDF64
split-complementary
#4E81DF #DF644E #C9DF4E
monochromatic
#1B4797 #255FCB #4E81DF #82A6E8 #B6CBF2

Accessibility & contrast

On white

3.80
#4E81DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#4E81DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81DF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81DF#FFFFFF#000000##000000
##4E81DF1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#558AE3
Deuteranopia (green-blind)
#3E7DDD
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e81df;
/* rgb */ color: rgb(78, 129, 223);
/* oklch */ color: oklch(61.4% 0.153 261.5);
Tailwind
colors: {
  custom: {
    50: '#8da5e9',
    500: '#4e81df',
    950: '#000000',
  },
}
SCSS
$custom: #4e81df;
$custom-light: #8da5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81df",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 218.897,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61354,
    "c": 0.15301,
    "h": 261.5
  },
  "luminance": 0.22648
}

Semantic roles & 50–950 ramp

primary
#4E81DF
secondary
#E1CDA8
accent
#AE3CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E81DF

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

Preview Lab → · Contrast checker → · Palette generator →

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