#4E81E3#4E81E3

#4E81E3 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.6% C 0.158 H 262.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4E81E3
RGBrgb(78, 129, 227)
HSLhsl(219, 73%, 60%)
HSVhsv(219, 66%, 89%)
CMYKcmyk(65.6%, 43.2%, 0%, 11%)
CIE-LABlab(54.93, 13.99, -54.93)
CIE-LCHlch(54.93, 56.68, 284.29°)
OKLaboklab(61.6% -0.0218 -0.1569)
OKLCHoklch(61.6% 0.158 262.1)
XYZxyz(24.8524, 22.8639, 75.7616)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81E3 #E3B04E
analogous
#4ECCE3 #4E81E3 #664EE3
triadic
#4E81E3 #E34E81 #81E34E
tetradic
#4E81E3 #E34ECC #E3B04E #4EE366
square
#4E81E3 #E34ECC #E3B04E #4EE366
split-complementary
#4E81E3 #E3664E #CCE34E
monochromatic
#19469E #215ED3 #4E81E3 #83A7EB #B8CCF4

Accessibility & contrast

On white

3.77
#4E81E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#4E81E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81E3
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81E3#FFFFFF#000000##000000
##4E81E31.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#528BE7
Deuteranopia (green-blind)
#3A7DE1
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e81e3;
/* rgb */ color: rgb(78, 129, 227);
/* oklch */ color: oklch(61.6% 0.158 262.1);
Tailwind
colors: {
  custom: {
    50: '#8ea5ec',
    500: '#4e81e3',
    950: '#000000',
  },
}
SCSS
$custom: #4e81e3;
$custom-light: #8ea5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81e3",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 227
  },
  "hsl": {
    "h": 219.463,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61602,
    "c": 0.15836,
    "h": 262.1
  },
  "luminance": 0.22866
}

Semantic roles & 50–950 ramp

primary
#4E81E3
secondary
#E3CFAA
accent
#B138EF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4E81E3

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

Preview Lab → · Contrast checker → · Palette generator →

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