#4D63D5#4D63D5

#4D63D5 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.5% C 0.176 H 271.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4D63D5
RGBrgb(77, 99, 213)
HSLhsl(230, 62%, 57%)
HSVhsv(230, 64%, 84%)
CMYKcmyk(63.8%, 53.5%, 0%, 16.5%)
CIE-LABlab(46.05, 27.59, -61.31)
CIE-LCHlch(46.05, 67.23, 294.23°)
OKLaboklab(54.54% 0.0036 -0.1761)
OKLCHoklch(54.54% 0.176 271.2)
XYZxyz(19.5286, 15.3038, 64.8627)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D63D5 #D5BF4D
analogous
#4DA7D5 #4D63D5 #7B4DD5
triadic
#4D63D5 #D54D63 #63D54D
tetradic
#4D63D5 #D54DA7 #D5BF4D #4DD57B
square
#4D63D5 #D54DA7 #D5BF4D #4DD57B
split-complementary
#4D63D5 #D57B4D #A7D54D
monochromatic
#203188 #2C43B9 #4D63D5 #7F8EE1 #B0BAEC

Accessibility & contrast

On white

5.17
#4D63D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4D63D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D63D5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D63D5#FFFFFF#000000##FFFFFF
##4D63D51.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1373D9
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#007E92
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d63d5;
/* rgb */ color: rgb(77, 99, 213);
/* oklch */ color: oklch(54.5% 0.176 271.2);
Tailwind
colors: {
  custom: {
    50: '#8c8fe3',
    500: '#4d63d5',
    950: '#000000',
  },
}
SCSS
$custom: #4d63d5;
$custom-light: #8c8fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d63d5",
  "rgb": {
    "r": 77,
    "g": 99,
    "b": 213
  },
  "hsl": {
    "h": 230.294,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5454,
    "c": 0.17609,
    "h": 271.2
  },
  "luminance": 0.15306
}

Semantic roles & 50–950 ramp

primary
#4D63D5
secondary
#DBD2A3
accent
#CB43E5
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4D63D5

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

Preview Lab → · Contrast checker → · Palette generator →

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