#4D63D8#4D63D8

#4D63D8 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.8% C 0.180 H 271.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4D63D8
RGBrgb(77, 99, 216)
HSLhsl(231, 64%, 57%)
HSVhsv(231, 64%, 85%)
CMYKcmyk(64.4%, 54.2%, 0%, 15.3%)
CIE-LABlab(46.25, 28.62, -62.68)
CIE-LCHlch(46.25, 68.91, 294.54°)
OKLaboklab(54.76% 0.0038 -0.1801)
OKLCHoklch(54.76% 0.18 271.2)
XYZxyz(19.9129, 15.4576, 66.8867)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D63D8 #D8C24D
analogous
#4DA8D8 #4D63D8 #7D4DD8
triadic
#4D63D8 #D84D63 #63D84D
tetradic
#4D63D8 #D84DA8 #D8C24D #4DD87D
square
#4D63D8 #D84DA8 #D8C24D #4DD87D
split-complementary
#4D63D8 #D87D4D #A8D84D
monochromatic
#1F308C #2A41BE #4D63D8 #7F8FE3 #B1BBEE

Accessibility & contrast

On white

5.13
#4D63D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4D63D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D63D8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D63D8#FFFFFF#000000##FFFFFF
##4D63D81.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0674DC
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d63d8;
/* rgb */ color: rgb(77, 99, 216);
/* oklch */ color: oklch(54.8% 0.180 271.2);
Tailwind
colors: {
  custom: {
    50: '#8d8fe5',
    500: '#4d63d8',
    950: '#000000',
  },
}
SCSS
$custom: #4d63d8;
$custom-light: #8d8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d63d8",
  "rgb": {
    "r": 77,
    "g": 99,
    "b": 216
  },
  "hsl": {
    "h": 230.504,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54761,
    "c": 0.18014,
    "h": 271.2
  },
  "luminance": 0.15459
}

Semantic roles & 50–950 ramp

primary
#4D63D8
secondary
#DCD4A4
accent
#CD41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4D63D8

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

Preview Lab → · Contrast checker → · Palette generator →

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