#4E68C6#4E68C6

#4E68C6 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.5% C 0.149 H 269.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4E68C6
RGBrgb(78, 104, 198)
HSLhsl(227, 51%, 54%)
HSVhsv(227, 61%, 78%)
CMYKcmyk(60.6%, 47.5%, 0%, 22.4%)
CIE-LABlab(46.44, 19.48, -52.07)
CIE-LCHlch(46.44, 55.60, 290.52°)
OKLaboklab(54.54% -0.0017 -0.1488)
OKLCHoklch(54.54% 0.149 269.3)
XYZxyz(18.2818, 15.5960, 55.4621)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E68C6 #C6AC4E
analogous
#4EA4C6 #4E68C6 #704EC6
triadic
#4E68C6 #C64E68 #68C64E
tetradic
#4E68C6 #C64EA4 #C6AC4E #4EC670
square
#4E68C6 #C64EA4 #C6AC4E #4EC670
split-complementary
#4E68C6 #C6704E #A4C64E
monochromatic
#253674 #344CA2 #4E68C6 #7C8FD5 #ABB7E4

Accessibility & contrast

On white

5.10
#4E68C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4E68C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E68C6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E68C6#FFFFFF#000000##FFFFFF
##4E68C61.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A74C9
Deuteranopia (green-blind)
#2569C4
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e68c6;
/* rgb */ color: rgb(78, 104, 198);
/* oklch */ color: oklch(54.5% 0.149 269.3);
Tailwind
colors: {
  custom: {
    50: '#8a92d8',
    500: '#4e68c6',
    950: '#000000',
  },
}
SCSS
$custom: #4e68c6;
$custom-light: #8a92d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e68c6",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 198
  },
  "hsl": {
    "h": 227,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5454,
    "c": 0.14881,
    "h": 269.3
  },
  "luminance": 0.15598
}

Semantic roles & 50–950 ramp

primary
#4E68C6
secondary
#D1C69E
accent
#BC4DDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0D14
muted
#7E7D83

Preview Lab

Preview with #4E68C6

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

Preview Lab → · Contrast checker → · Palette generator →

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