#4D62D7#4D62D7

#4D62D7 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.5% C 0.180 H 271.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4D62D7
RGBrgb(77, 98, 215)
HSLhsl(231, 63%, 57%)
HSVhsv(231, 64%, 84%)
CMYKcmyk(64.2%, 54.4%, 0%, 15.7%)
CIE-LABlab(45.93, 28.91, -62.63)
CIE-LCHlch(45.93, 68.98, 294.77°)
OKLaboklab(54.5% 0.0046 -0.18)
OKLCHoklch(54.5% 0.18 271.5)
XYZxyz(19.6899, 15.2177, 66.1765)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D62D7 #D7C24D
analogous
#4DA7D7 #4D62D7 #7D4DD7
triadic
#4D62D7 #D74D62 #62D74D
tetradic
#4D62D7 #D74DA7 #D7C24D #4DD77D
square
#4D62D7 #D74DA7 #D7C24D #4DD77D
split-complementary
#4D62D7 #D77D4D #A7D74D
monochromatic
#1F2F8A #2A41BC #4D62D7 #7F8EE2 #B1BAED

Accessibility & contrast

On white

5.19
#4D62D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4D62D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D62D7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D62D7#FFFFFF#000000##FFFFFF
##4D62D71.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0273DB
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#007E93
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d62d7;
/* rgb */ color: rgb(77, 98, 215);
/* oklch */ color: oklch(54.5% 0.180 271.5);
Tailwind
colors: {
  custom: {
    50: '#8d8ee4',
    500: '#4d62d7',
    950: '#000000',
  },
}
SCSS
$custom: #4d62d7;
$custom-light: #8d8ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d62d7",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 215
  },
  "hsl": {
    "h": 230.87,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54496,
    "c": 0.18003,
    "h": 271.5
  },
  "luminance": 0.15219
}

Semantic roles & 50–950 ramp

primary
#4D62D7
secondary
#DCD3A4
accent
#CD41E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4D62D7

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

Preview Lab → · Contrast checker → · Palette generator →

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