#4D68E4#4D68E4

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

Color values

HEX#4D68E4
RGBrgb(77, 104, 228)
HSLhsl(229, 74%, 60%)
HSVhsv(229, 66%, 89%)
CMYKcmyk(66.2%, 54.4%, 0%, 10.6%)
CIE-LABlab(48.36, 29.64, -66.08)
CIE-LCHlch(48.36, 72.42, 294.16°)
OKLaboklab(56.61% 0 -0.19)
OKLCHoklch(56.61% 0.19 270)
XYZxyz(22.0097, 17.0778, 75.5202)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D68E4 #E4C94D
analogous
#4DB3E4 #4D68E4 #7E4DE4
triadic
#4D68E4 #E44D68 #68E44D
tetradic
#4D68E4 #E44DB3 #E4C94D #4DE47E
square
#4D68E4 #E44DB3 #E4C94D #4DE47E
split-complementary
#4D68E4 #E47E4D #B3E44D
monochromatic
#18309F #2040D4 #4D68E4 #8295EC #B7C2F4

Accessibility & contrast

On white

4.76
#4D68E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D68E4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D68E4#FFFFFF#000000##FFFFFF
##4D68E41.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#00869C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d68e4;
/* rgb */ color: rgb(77, 104, 228);
/* oklch */ color: oklch(56.6% 0.190 270.0);
Tailwind
colors: {
  custom: {
    50: '#8f92ed',
    500: '#4d68e4',
    950: '#000000',
  },
}
SCSS
$custom: #4d68e4;
$custom-light: #8f92ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4d68e4",
  "rgb": {
    "r": 77,
    "g": 104,
    "b": 228
  },
  "hsl": {
    "h": 229.272,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56605,
    "c": 0.19002,
    "h": 270
  },
  "luminance": 0.1708
}

Semantic roles & 50–950 ramp

primary
#4D68E4
secondary
#E4D9A9
accent
#CF37F0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84

Preview Lab

Preview with #4D68E4

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

Preview Lab → · Contrast checker → · Palette generator →

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