#4E6FD7#4E6FD7

#4E6FD7 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.1% C 0.164 H 267.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4E6FD7
RGBrgb(78, 111, 215)
HSLhsl(226, 63%, 57%)
HSVhsv(226, 64%, 84%)
CMYKcmyk(63.7%, 48.4%, 0%, 15.7%)
CIE-LABlab(49.37, 20.94, -57.09)
CIE-LCHlch(49.37, 60.81, 290.14°)
OKLaboklab(57.11% -0.0064 -0.1635)
OKLCHoklch(57.11% 0.164 267.7)
XYZxyz(21.0879, 17.8930, 66.6192)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6FD7 #D7B64E
analogous
#4EB4D7 #4E6FD7 #714ED7
triadic
#4E6FD7 #D74E6F #6FD74E
tetradic
#4E6FD7 #D74EB4 #D7B64E #4ED771
square
#4E6FD7 #D74EB4 #D7B64E #4ED771
split-complementary
#4E6FD7 #D7714E #B4D74E
monochromatic
#1F398B #2B4EBD #4E6FD7 #8098E2 #B2C0EE

Accessibility & contrast

On white

4.59
#4E6FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4E6FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6FD7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6FD7#FFFFFF#000000##FFFFFF
##4E6FD71.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#387CDB
Deuteranopia (green-blind)
#196FD5
Tritanopia (blue-blind)
#008799
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e6fd7;
/* rgb */ color: rgb(78, 111, 215);
/* oklch */ color: oklch(57.1% 0.164 267.7);
Tailwind
colors: {
  custom: {
    50: '#8d97e4',
    500: '#4e6fd7',
    950: '#000000',
  },
}
SCSS
$custom: #4e6fd7;
$custom-light: #8d97e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6fd7",
  "rgb": {
    "r": 78,
    "g": 111,
    "b": 215
  },
  "hsl": {
    "h": 225.547,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57107,
    "c": 0.16359,
    "h": 267.7
  },
  "luminance": 0.17895
}

Semantic roles & 50–950 ramp

primary
#4E6FD7
secondary
#DCCFA5
accent
#BF42E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4E6FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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