#4D68E1#4D68E1

#4D68E1 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.4% C 0.186 H 270.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4D68E1
RGBrgb(77, 104, 225)
HSLhsl(229, 71%, 59%)
HSVhsv(229, 66%, 88%)
CMYKcmyk(65.8%, 53.8%, 0%, 11.8%)
CIE-LABlab(48.15, 28.60, -64.72)
CIE-LCHlch(48.15, 70.76, 293.84°)
OKLaboklab(56.38% -0.0001 -0.186)
OKLCHoklch(56.38% 0.186 270)
XYZxyz(21.5969, 16.9126, 73.3459)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D68E1 #E1C64D
analogous
#4DB2E1 #4D68E1 #7C4DE1
triadic
#4D68E1 #E14D68 #68E14D
tetradic
#4D68E1 #E14DB2 #E1C64D #4DE17C
square
#4D68E1 #E14DB2 #E1C64D #4DE17C
split-complementary
#4D68E1 #E17C4D #B2E14D
monochromatic
#1A319A #2342CE #4D68E1 #8194EA #B6C1F3

Accessibility & contrast

On white

4.79
#4D68E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4D68E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D68E1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D68E1#FFFFFF#000000##FFFFFF
##4D68E11.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0979E5
Deuteranopia (green-blind)
#006CDF
Tritanopia (blue-blind)
#00859A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4d68e1;
/* rgb */ color: rgb(77, 104, 225);
/* oklch */ color: oklch(56.4% 0.186 270.0);
Tailwind
colors: {
  custom: {
    50: '#8e92eb',
    500: '#4d68e1',
    950: '#000000',
  },
}
SCSS
$custom: #4d68e1;
$custom-light: #8e92eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d68e1",
  "rgb": {
    "r": 77,
    "g": 104,
    "b": 225
  },
  "hsl": {
    "h": 229.054,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56382,
    "c": 0.18603,
    "h": 270
  },
  "luminance": 0.16915
}

Semantic roles & 50–950 ramp

primary
#4D68E1
secondary
#E2D7A8
accent
#CD3AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84

Preview Lab

Preview with #4D68E1

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

Preview Lab → · Contrast checker → · Palette generator →

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