#4D62CD#4D62CD

#4D62CD is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.8% C 0.166 H 271.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4D62CD
RGBrgb(77, 98, 205)
HSLhsl(230, 56%, 55%)
HSVhsv(230, 62%, 80%)
CMYKcmyk(62.4%, 52.2%, 0%, 19.6%)
CIE-LABlab(45.25, 25.48, -58.02)
CIE-LCHlch(45.25, 63.36, 293.71°)
OKLaboklab(53.76% 0.004 -0.1664)
OKLCHoklch(53.76% 0.166 271.4)
XYZxyz(18.4440, 14.7194, 59.6149)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D62CD #CDB84D
analogous
#4DA2CD #4D62CD #784DCD
triadic
#4D62CD #CD4D62 #62CD4D
tetradic
#4D62CD #CD4DA2 #CDB84D #4DCD78
square
#4D62CD #CD4DA2 #CDB84D #4DCD78
split-complementary
#4D62CD #CD784D #A2CD4D
monochromatic
#23327D #3045AC #4D62CD #7D8CDA #ADB6E8

Accessibility & contrast

On white

5.32
#4D62CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4D62CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D62CD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D62CD#FFFFFF#000000##FFFFFF
##4D62CD1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2071D1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d62cd;
/* rgb */ color: rgb(77, 98, 205);
/* oklch */ color: oklch(53.8% 0.166 271.4);
Tailwind
colors: {
  custom: {
    50: '#8b8edd',
    500: '#4d62cd',
    950: '#000000',
  },
}
SCSS
$custom: #4d62cd;
$custom-light: #8b8edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d62cd",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 230.156,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53765,
    "c": 0.16644,
    "h": 271.4
  },
  "luminance": 0.14721
}

Semantic roles & 50–950 ramp

primary
#4D62CD
secondary
#D6CDA0
accent
#C748DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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