#4E6BD6#4E6BD6

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

Color values

HEX#4E6BD6
RGBrgb(78, 107, 214)
HSLhsl(227, 62%, 57%)
HSVhsv(227, 64%, 84%)
CMYKcmyk(63.6%, 50%, 0%, 16.1%)
CIE-LABlab(48.25, 23.09, -58.32)
CIE-LCHlch(48.25, 62.73, 291.60°)
OKLaboklab(56.24% -0.0028 -0.1671)
OKLCHoklch(56.24% 0.167 269.1)
XYZxyz(20.5331, 16.9883, 65.8023)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6BD6 #D6B94E
analogous
#4EAFD6 #4E6BD6 #754ED6
triadic
#4E6BD6 #D64E6B #6BD64E
tetradic
#4E6BD6 #D64EAF #D6B94E #4ED675
square
#4E6BD6 #D64EAF #D6B94E #4ED675
split-complementary
#4E6BD6 #D6754E #AFD64E
monochromatic
#20368A #2B4ABB #4E6BD6 #8095E2 #B1BEED

Accessibility & contrast

On white

4.77
#4E6BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4E6BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6BD6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6BD6#FFFFFF#000000##FFFFFF
##4E6BD61.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F79DA
Deuteranopia (green-blind)
#046DD4
Tritanopia (blue-blind)
#008496
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e6bd6;
/* rgb */ color: rgb(78, 107, 214);
/* oklch */ color: oklch(56.2% 0.167 269.1);
Tailwind
colors: {
  custom: {
    50: '#8d94e3',
    500: '#4e6bd6',
    950: '#000000',
  },
}
SCSS
$custom: #4e6bd6;
$custom-light: #8d94e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6bd6",
  "rgb": {
    "r": 78,
    "g": 107,
    "b": 214
  },
  "hsl": {
    "h": 227.206,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56235,
    "c": 0.16717,
    "h": 269.1
  },
  "luminance": 0.1699
}

Semantic roles & 50–950 ramp

primary
#4E6BD6
secondary
#DBD0A4
accent
#C342E5
background
#F9F9FE
surface
#F1F1FC
border
#CBCBD5
text
#0D0D15
muted
#7E7E84

Preview Lab

Preview with #4E6BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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