#4E6CD7#4E6CD7

#4E6CD7 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.5% C 0.167 H 268.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4E6CD7
RGBrgb(78, 108, 215)
HSLhsl(227, 63%, 57%)
HSVhsv(227, 64%, 84%)
CMYKcmyk(63.7%, 49.8%, 0%, 15.7%)
CIE-LABlab(48.57, 22.81, -58.37)
CIE-LCHlch(48.57, 62.67, 291.35°)
OKLaboklab(56.5% -0.0036 -0.1673)
OKLCHoklch(56.5% 0.167 268.8)
XYZxyz(20.7660, 17.2493, 66.5119)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6CD7 #D7B94E
analogous
#4EB1D7 #4E6CD7 #744ED7
triadic
#4E6CD7 #D74E6C #6CD74E
tetradic
#4E6CD7 #D74EB1 #D7B94E #4ED774
square
#4E6CD7 #D74EB1 #D7B94E #4ED774
split-complementary
#4E6CD7 #D7744E #B1D74E
monochromatic
#1F378B #2B4BBD #4E6CD7 #8095E2 #B2BFEE

Accessibility & contrast

On white

4.72
#4E6CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4E6CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6CD7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6CD7#FFFFFF#000000##FFFFFF
##4E6CD71.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#317ADB
Deuteranopia (green-blind)
#076DD5
Tritanopia (blue-blind)
#008597
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e6cd7;
/* rgb */ color: rgb(78, 108, 215);
/* oklch */ color: oklch(56.5% 0.167 268.8);
Tailwind
colors: {
  custom: {
    50: '#8d95e4',
    500: '#4e6cd7',
    950: '#000000',
  },
}
SCSS
$custom: #4e6cd7;
$custom-light: #8d95e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6cd7",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 226.861,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56504,
    "c": 0.1673,
    "h": 268.8
  },
  "luminance": 0.17251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E6CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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