#4D62D5#4D62D5

#4D62D5 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.3% C 0.177 H 271.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4D62D5
RGBrgb(77, 98, 213)
HSLhsl(231, 62%, 57%)
HSVhsv(231, 64%, 84%)
CMYKcmyk(63.8%, 54%, 0%, 16.5%)
CIE-LABlab(45.79, 28.22, -61.72)
CIE-LCHlch(45.79, 67.86, 294.57°)
OKLaboklab(54.35% 0.0045 -0.1773)
OKLCHoklch(54.35% 0.177 271.5)
XYZxyz(19.4345, 15.1155, 64.8313)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D62D5 #D5C04D
analogous
#4DA6D5 #4D62D5 #7C4DD5
triadic
#4D62D5 #D54D62 #62D54D
tetradic
#4D62D5 #D54DA6 #D5C04D #4DD57C
square
#4D62D5 #D54DA6 #D5C04D #4DD57C
split-complementary
#4D62D5 #D57C4D #A6D54D
monochromatic
#203088 #2C42B9 #4D62D5 #7F8EE1 #B0B9EC

Accessibility & contrast

On white

5.22
#4D62D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4D62D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D62D5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D62D5#FFFFFF#000000##FFFFFF
##4D62D51.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C73D9
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#007D92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d62d5;
/* rgb */ color: rgb(77, 98, 213);
/* oklch */ color: oklch(54.3% 0.177 271.5);
Tailwind
colors: {
  custom: {
    50: '#8c8ee3',
    500: '#4d62d5',
    950: '#000000',
  },
}
SCSS
$custom: #4d62d5;
$custom-light: #8c8ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d62d5",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 213
  },
  "hsl": {
    "h": 230.735,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54348,
    "c": 0.17734,
    "h": 271.5
  },
  "luminance": 0.15117
}

Semantic roles & 50–950 ramp

primary
#4D62D5
secondary
#DBD2A3
accent
#CC43E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4D62D5

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

Preview Lab → · Contrast checker → · Palette generator →

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