#4E6BD7#4E6BD7

#4E6BD7 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.3% C 0.169 H 269.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4E6BD7
RGBrgb(78, 107, 215)
HSLhsl(227, 63%, 57%)
HSVhsv(227, 64%, 84%)
CMYKcmyk(63.7%, 50.2%, 0%, 15.7%)
CIE-LABlab(48.31, 23.44, -58.79)
CIE-LCHlch(48.31, 63.29, 291.74°)
OKLaboklab(56.31% -0.0027 -0.1685)
OKLCHoklch(56.31% 0.169 269.1)
XYZxyz(20.6612, 17.0395, 66.4769)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6BD7 #D7BA4E
analogous
#4EB0D7 #4E6BD7 #754ED7
triadic
#4E6BD7 #D74E6B #6BD74E
tetradic
#4E6BD7 #D74EB0 #D7BA4E #4ED775
square
#4E6BD7 #D74EB0 #D7BA4E #4ED775
split-complementary
#4E6BD7 #D7754E #B0D74E
monochromatic
#1F368B #2B4ABD #4E6BD7 #8095E2 #B2BEEE

Accessibility & contrast

On white

4.76
#4E6BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4E6BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6BD7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6BD7#FFFFFF#000000##FFFFFF
##4E6BD71.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E79DB
Deuteranopia (green-blind)
#006DD5
Tritanopia (blue-blind)
#008497
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e6bd7;
/* rgb */ color: rgb(78, 107, 215);
/* oklch */ color: oklch(56.3% 0.169 269.1);
Tailwind
colors: {
  custom: {
    50: '#8d94e4',
    500: '#4e6bd7',
    950: '#000000',
  },
}
SCSS
$custom: #4e6bd7;
$custom-light: #8d94e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6bd7",
  "rgb": {
    "r": 78,
    "g": 107,
    "b": 215
  },
  "hsl": {
    "h": 227.299,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56305,
    "c": 0.16854,
    "h": 269.1
  },
  "luminance": 0.17041
}

Semantic roles & 50–950 ramp

primary
#4E6BD7
secondary
#DCD0A5
accent
#C342E6
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4E6BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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