#4D68D5#4D68D5

#4D68D5 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.5% C 0.170 H 269.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4D68D5
RGBrgb(77, 104, 213)
HSLhsl(228, 62%, 57%)
HSVhsv(228, 64%, 84%)
CMYKcmyk(63.8%, 51.2%, 0%, 16.5%)
CIE-LABlab(47.34, 24.46, -59.22)
CIE-LCHlch(47.34, 64.07, 292.44°)
OKLaboklab(55.52% -0.001 -0.1698)
OKLCHoklch(55.52% 0.17 269.7)
XYZxyz(20.0171, 16.2807, 65.0255)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D68D5 #D5BA4D
analogous
#4DACD5 #4D68D5 #764DD5
triadic
#4D68D5 #D54D68 #68D54D
tetradic
#4D68D5 #D54DAC #D5BA4D #4DD576
square
#4D68D5 #D54DAC #D5BA4D #4DD576
split-complementary
#4D68D5 #D5764D #ACD54D
monochromatic
#203588 #2C48B9 #4D68D5 #7F92E1 #B0BCEC

Accessibility & contrast

On white

4.93
#4D68D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#4D68D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D68D5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D68D5#FFFFFF#000000##FFFFFF
##4D68D51.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2777D9
Deuteranopia (green-blind)
#006AD3
Tritanopia (blue-blind)
#008194
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d68d5;
/* rgb */ color: rgb(77, 104, 213);
/* oklch */ color: oklch(55.5% 0.170 269.7);
Tailwind
colors: {
  custom: {
    50: '#8c92e3',
    500: '#4d68d5',
    950: '#000000',
  },
}
SCSS
$custom: #4d68d5;
$custom-light: #8c92e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d68d5",
  "rgb": {
    "r": 77,
    "g": 104,
    "b": 213
  },
  "hsl": {
    "h": 228.088,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55515,
    "c": 0.16984,
    "h": 269.7
  },
  "luminance": 0.16283
}

Semantic roles & 50–950 ramp

primary
#4D68D5
secondary
#DBD0A3
accent
#C543E5
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0D15
muted
#7E7D84

Preview Lab

Preview with #4D68D5

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

Preview Lab → · Contrast checker → · Palette generator →

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