#4E6BD8#4E6BD8

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

Color values

HEX#4E6BD8
RGBrgb(78, 107, 216)
HSLhsl(227, 64%, 58%)
HSVhsv(227, 64%, 85%)
CMYKcmyk(63.9%, 50.5%, 0%, 15.3%)
CIE-LABlab(48.37, 23.78, -59.25)
CIE-LCHlch(48.37, 63.85, 291.87°)
OKLaboklab(56.37% -0.0026 -0.1699)
OKLCHoklch(56.37% 0.17 269.1)
XYZxyz(20.7900, 17.0911, 67.1557)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6BD8 #D8BB4E
analogous
#4EB0D8 #4E6BD8 #764ED8
triadic
#4E6BD8 #D84E6B #6BD84E
tetradic
#4E6BD8 #D84EB0 #D8BB4E #4ED876
square
#4E6BD8 #D84EB0 #D8BB4E #4ED876
split-complementary
#4E6BD8 #D8764E #B0D84E
monochromatic
#1F368D #2A49BF #4E6BD8 #8095E3 #B2BFEE

Accessibility & contrast

On white

4.75
#4E6BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4E6BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6BD8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6BD8#FFFFFF#000000##FFFFFF
##4E6BD81.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e6bd8;
/* rgb */ color: rgb(78, 107, 216);
/* oklch */ color: oklch(56.4% 0.170 269.1);
Tailwind
colors: {
  custom: {
    50: '#8d94e5',
    500: '#4e6bd8',
    950: '#000000',
  },
}
SCSS
$custom: #4e6bd8;
$custom-light: #8d94e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6bd8",
  "rgb": {
    "r": 78,
    "g": 107,
    "b": 216
  },
  "hsl": {
    "h": 227.391,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56374,
    "c": 0.16991,
    "h": 269.1
  },
  "luminance": 0.17093
}

Semantic roles & 50–950 ramp

primary
#4E6BD8
secondary
#DDD1A5
accent
#C441E7
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4E6BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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