#4D62DC#4D62DC

#4D62DC is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.9% C 0.187 H 271.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4D62DC
RGBrgb(77, 98, 220)
HSLhsl(231, 67%, 58%)
HSVhsv(231, 65%, 86%)
CMYKcmyk(65%, 55.5%, 0%, 13.7%)
CIE-LABlab(46.28, 30.62, -64.91)
CIE-LCHlch(46.28, 71.77, 295.26°)
OKLaboklab(54.87% 0.0048 -0.1867)
OKLCHoklch(54.87% 0.187 271.5)
XYZxyz(20.3422, 15.4786, 69.6119)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D62DC #DCC74D
analogous
#4DA9DC #4D62DC #7F4DDC
triadic
#4D62DC #DC4D62 #62DC4D
tetradic
#4D62DC #DC4DA9 #DCC74D #4DDC7F
square
#4D62DC #DC4DA9 #DCC74D #4DDC7F
split-complementary
#4D62DC #DC7F4D #A9DC4D
monochromatic
#1D2E92 #273EC5 #4D62DC #808FE6 #B3BCF0

Accessibility & contrast

On white

5.13
#4D62DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4D62DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D62DC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D62DC#FFFFFF#000000##FFFFFF
##4D62DC1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d62dc;
/* rgb */ color: rgb(77, 98, 220);
/* oklch */ color: oklch(54.9% 0.187 271.5);
Tailwind
colors: {
  custom: {
    50: '#8e8ee8',
    500: '#4d62dc',
    950: '#000000',
  },
}
SCSS
$custom: #4d62dc;
$custom-light: #8e8ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d62dc",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 231.189,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.18673,
    "h": 271.5
  },
  "luminance": 0.1548
}

Semantic roles & 50–950 ramp

primary
#4D62DC
secondary
#DFD7A6
accent
#D13EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4D62DC

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

Preview Lab → · Contrast checker → · Palette generator →

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