#4E6CD8#4E6CD8

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

Color values

HEX#4E6CD8
RGBrgb(78, 108, 216)
HSLhsl(227, 64%, 58%)
HSVhsv(227, 64%, 85%)
CMYKcmyk(63.9%, 50%, 0%, 15.3%)
CIE-LABlab(48.64, 23.16, -58.83)
CIE-LCHlch(48.64, 63.22, 291.49°)
OKLaboklab(56.57% -0.0035 -0.1686)
OKLCHoklch(56.57% 0.169 268.8)
XYZxyz(20.8949, 17.3008, 67.1907)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6CD8 #D8BA4E
analogous
#4EB1D8 #4E6CD8 #754ED8
triadic
#4E6CD8 #D84E6C #6CD84E
tetradic
#4E6CD8 #D84EB1 #D8BA4E #4ED875
square
#4E6CD8 #D84EB1 #D8BA4E #4ED875
split-complementary
#4E6CD8 #D8754E #B1D84E
monochromatic
#1F378D #2A4ABF #4E6CD8 #8096E3 #B2BFEE

Accessibility & contrast

On white

4.71
#4E6CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4E6CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6CD8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6CD8#FFFFFF#000000##FFFFFF
##4E6CD81.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F7ADC
Deuteranopia (green-blind)
#026ED6
Tritanopia (blue-blind)
#008598
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e6cd8;
/* rgb */ color: rgb(78, 108, 216);
/* oklch */ color: oklch(56.6% 0.169 268.8);
Tailwind
colors: {
  custom: {
    50: '#8d95e5',
    500: '#4e6cd8',
    950: '#000000',
  },
}
SCSS
$custom: #4e6cd8;
$custom-light: #8d95e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6cd8",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 216
  },
  "hsl": {
    "h": 226.957,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56573,
    "c": 0.16867,
    "h": 268.8
  },
  "luminance": 0.17303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E6CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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