#4E81F7#4E81F7

#4E81F7 is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.9% C 0.185 H 264.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4E81F7
RGBrgb(78, 129, 247)
HSLhsl(222, 91%, 64%)
HSVhsv(222, 68%, 97%)
CMYKcmyk(68.4%, 47.8%, 0%, 3.1%)
CIE-LABlab(56.12, 20.93, -64.15)
CIE-LCHlch(56.12, 67.48, 288.07°)
OKLaboklab(62.9% -0.0187 -0.184)
OKLCHoklch(62.9% 0.185 264.2)
XYZxyz(27.7747, 24.0328, 91.1527)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81F7 #F7C44E
analogous
#4ED6F7 #4E81F7 #6F4EF7
triadic
#4E81F7 #F74E81 #81F74E
tetradic
#4E81F7 #F74ED6 #F7C44E #4EF76F
square
#4E81F7 #F74ED6 #F7C44E #4EF76F
split-complementary
#4E81F7 #F76F4E #D6F74E
monochromatic
#0941C2 #1357F4 #4E81F7 #89ABFA #C3D4FC

Accessibility & contrast

On white

3.62
#4E81F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#4E81F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81F7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81F7#FFFFFF#000000##000000
##4E81F71.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFB
Deuteranopia (green-blind)
#0F7FF5
Tritanopia (blue-blind)
#009DB0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4e81f7;
/* rgb */ color: rgb(78, 129, 247);
/* oklch */ color: oklch(62.9% 0.185 264.2);
Tailwind
colors: {
  custom: {
    50: '#92a5fa',
    500: '#4e81f7',
    950: '#000000',
  },
}
SCSS
$custom: #4e81f7;
$custom-light: #92a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81f7",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 221.893,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62897,
    "c": 0.18492,
    "h": 264.2
  },
  "luminance": 0.24036
}

Semantic roles & 50–950 ramp

primary
#4E81F7
secondary
#EEDCB3
accent
#A000E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4E81F7

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

Preview Lab → · Contrast checker → · Palette generator →

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