#4D62EC#4D62EC

#4D62EC is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.1% C 0.208 H 271.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4D62EC
RGBrgb(77, 98, 236)
HSLhsl(232, 81%, 61%)
HSVhsv(232, 67%, 93%)
CMYKcmyk(67.4%, 58.5%, 0%, 7.5%)
CIE-LABlab(47.45, 36.09, -72.05)
CIE-LCHlch(47.45, 80.58, 296.61°)
OKLaboklab(56.11% 0.0051 -0.2077)
OKLCHoklch(56.11% 0.208 271.4)
XYZxyz(22.5635, 16.3671, 81.3107)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D62EC #ECD74D
analogous
#4DB2EC #4D62EC #884DEC
triadic
#4D62EC #EC4D62 #62EC4D
tetradic
#4D62EC #EC4DB2 #ECD74D #4DEC88
square
#4D62EC #EC4DB2 #ECD74D #4DEC88
split-complementary
#4D62EC #EC884D #B2EC4D
monochromatic
#1227AC #1833E4 #4D62EC #8493F2 #BCC4F8

Accessibility & contrast

On white

4.91
#4D62EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4D62EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D62EC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D62EC#FFFFFF#000000##FFFFFF
##4D62EC1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#006AE9
Tritanopia (blue-blind)
#00849E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d62ec;
/* rgb */ color: rgb(77, 98, 236);
/* oklch */ color: oklch(56.1% 0.208 271.4);
Tailwind
colors: {
  custom: {
    50: '#918ef3',
    500: '#4d62ec',
    950: '#000000',
  },
}
SCSS
$custom: #4d62ec;
$custom-light: #918ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d62ec",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 232.075,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56111,
    "c": 0.20772,
    "h": 271.4
  },
  "luminance": 0.16369
}

Semantic roles & 50–950 ramp

primary
#4D62EC
secondary
#E8E0AD
accent
#C108DD
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4D62EC

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

Preview Lab → · Contrast checker → · Palette generator →

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