#4E68D6#4E68D6

#4E68D6 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.6% C 0.171 H 270.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4E68D6
RGBrgb(78, 104, 214)
HSLhsl(229, 62%, 57%)
HSVhsv(229, 64%, 84%)
CMYKcmyk(63.6%, 51.4%, 0%, 16.1%)
CIE-LABlab(47.46, 24.97, -59.59)
CIE-LCHlch(47.46, 64.61, 292.74°)
OKLaboklab(55.64% 0.0001 -0.1709)
OKLCHoklch(55.64% 0.171 270)
XYZxyz(20.2257, 16.3736, 65.6998)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E68D6 #D6BC4E
analogous
#4EACD6 #4E68D6 #784ED6
triadic
#4E68D6 #D64E68 #68D64E
tetradic
#4E68D6 #D64EAC #D6BC4E #4ED678
square
#4E68D6 #D64EAC #D6BC4E #4ED678
split-complementary
#4E68D6 #D6784E #ACD64E
monochromatic
#20348A #2B47BB #4E68D6 #8092E2 #B1BDED

Accessibility & contrast

On white

4.91
#4E68D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4E68D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E68D6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E68D6#FFFFFF#000000##FFFFFF
##4E68D61.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2677DA
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#008295
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e68d6;
/* rgb */ color: rgb(78, 104, 214);
/* oklch */ color: oklch(55.6% 0.171 270.0);
Tailwind
colors: {
  custom: {
    50: '#8d92e3',
    500: '#4e68d6',
    950: '#000000',
  },
}
SCSS
$custom: #4e68d6;
$custom-light: #8d92e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e68d6",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 214
  },
  "hsl": {
    "h": 228.529,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55641,
    "c": 0.17091,
    "h": 270
  },
  "luminance": 0.16375
}

Semantic roles & 50–950 ramp

primary
#4E68D6
secondary
#DBD1A4
accent
#C642E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0D15
muted
#7E7D84

Preview Lab

Preview with #4E68D6

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

Preview Lab → · Contrast checker → · Palette generator →

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