#4D62CF#4D62CF

#4D62CF is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.9% C 0.169 H 271.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4D62CF
RGBrgb(77, 98, 207)
HSLhsl(230, 58%, 56%)
HSVhsv(230, 63%, 81%)
CMYKcmyk(62.8%, 52.7%, 0%, 18.8%)
CIE-LABlab(45.38, 26.16, -58.95)
CIE-LCHlch(45.38, 64.49, 293.93°)
OKLaboklab(53.91% 0.0041 -0.1691)
OKLCHoklch(53.91% 0.169 271.4)
XYZxyz(18.6870, 14.8165, 60.8945)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D62CF #CFBA4D
analogous
#4DA3CF #4D62CF #794DCF
triadic
#4D62CF #CF4D62 #62CF4D
tetradic
#4D62CF #CF4DA3 #CFBA4D #4DCF79
square
#4D62CF #CF4DA3 #CFBA4D #4DCF79
split-complementary
#4D62CF #CF794D #A3CF4D
monochromatic
#22317F #2F44AF #4D62CF #7D8DDC #ADB7E9

Accessibility & contrast

On white

5.30
#4D62CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4D62CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D62CF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D62CF#FFFFFF#000000##FFFFFF
##4D62CF1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D71D3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d62cf;
/* rgb */ color: rgb(77, 98, 207);
/* oklch */ color: oklch(53.9% 0.169 271.4);
Tailwind
colors: {
  custom: {
    50: '#8b8ede',
    500: '#4d62cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d62cf;
$custom-light: #8b8ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4d62cf",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 230.308,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53909,
    "c": 0.16918,
    "h": 271.4
  },
  "luminance": 0.14818
}

Semantic roles & 50–950 ramp

primary
#4D62CF
secondary
#D7CEA1
accent
#C847E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D62CF

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

Preview Lab → · Contrast checker → · Palette generator →

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