#4D62D8#4D62D8

#4D62D8 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.181 H 271.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4D62D8
RGBrgb(77, 98, 216)
HSLhsl(231, 64%, 57%)
HSVhsv(231, 64%, 85%)
CMYKcmyk(64.4%, 54.6%, 0%, 15.3%)
CIE-LABlab(46.00, 29.25, -63.09)
CIE-LCHlch(46.00, 69.54, 294.87°)
OKLaboklab(54.57% 0.0047 -0.1813)
OKLCHoklch(54.57% 0.181 271.5)
XYZxyz(19.8188, 15.2693, 66.8553)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D62D8 #D8C34D
analogous
#4DA8D8 #4D62D8 #7D4DD8
triadic
#4D62D8 #D84D62 #62D84D
tetradic
#4D62D8 #D84DA8 #D8C34D #4DD87D
square
#4D62D8 #D84DA8 #D8C34D #4DD87D
split-complementary
#4D62D8 #D87D4D #A8D84D
monochromatic
#1F2F8C #2A40BE #4D62D8 #7F8EE3 #B1BBEE

Accessibility & contrast

On white

5.18
#4D62D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4D62D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D62D8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D62D8#FFFFFF#000000##FFFFFF
##4D62D81.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#007E93
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d62d8;
/* rgb */ color: rgb(77, 98, 216);
/* oklch */ color: oklch(54.6% 0.181 271.5);
Tailwind
colors: {
  custom: {
    50: '#8d8ee5',
    500: '#4d62d8',
    950: '#000000',
  },
}
SCSS
$custom: #4d62d8;
$custom-light: #8d8ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d62d8",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 230.935,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54571,
    "c": 0.18138,
    "h": 271.5
  },
  "luminance": 0.15271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D62D8

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

Preview Lab → · Contrast checker → · Palette generator →

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