#4D63CF#4D63CF

#4D63CF is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.1% C 0.168 H 271.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4D63CF
RGBrgb(77, 99, 207)
HSLhsl(230, 58%, 56%)
HSVhsv(230, 63%, 81%)
CMYKcmyk(62.8%, 52.2%, 0%, 18.8%)
CIE-LABlab(45.64, 25.53, -58.53)
CIE-LCHlch(45.64, 63.86, 293.57°)
OKLaboklab(54.1% 0.0032 -0.1679)
OKLCHoklch(54.1% 0.168 271.1)
XYZxyz(18.7811, 15.0048, 60.9259)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D63CF #CFB94D
analogous
#4DA4CF #4D63CF #784DCF
triadic
#4D63CF #CF4D63 #63CF4D
tetradic
#4D63CF #CF4DA4 #CFB94D #4DCF78
square
#4D63CF #CF4DA4 #CFB94D #4DCF78
split-complementary
#4D63CF #CF784D #A4CF4D
monochromatic
#22327F #2F45AF #4D63CF #7D8DDC #ADB7E9

Accessibility & contrast

On white

5.25
#4D63CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4D63CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D63CF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D63CF#FFFFFF#000000##FFFFFF
##4D63CF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2072D3
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d63cf;
/* rgb */ color: rgb(77, 99, 207);
/* oklch */ color: oklch(54.1% 0.168 271.1);
Tailwind
colors: {
  custom: {
    50: '#8b8fde',
    500: '#4d63cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d63cf;
$custom-light: #8b8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4d63cf",
  "rgb": {
    "r": 77,
    "g": 99,
    "b": 207
  },
  "hsl": {
    "h": 229.846,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54104,
    "c": 0.16791,
    "h": 271.1
  },
  "luminance": 0.15006
}

Semantic roles & 50–950 ramp

primary
#4D63CF
secondary
#D7CEA1
accent
#C747E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D63CF

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

Preview Lab → · Contrast checker → · Palette generator →

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