#4D62C2#4D62C2

#4D62C2 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.0% C 0.151 H 271.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4D62C2
RGBrgb(77, 98, 194)
HSLhsl(229, 49%, 53%)
HSVhsv(229, 60%, 76%)
CMYKcmyk(60.3%, 49.5%, 0%, 23.9%)
CIE-LABlab(44.53, 21.71, -52.84)
CIE-LCHlch(44.53, 57.12, 292.34°)
OKLaboklab(52.99% 0.003 -0.1511)
OKLCHoklch(52.99% 0.151 271.1)
XYZxyz(17.1626, 14.2068, 52.8662)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D62C2 #C2AD4D
analogous
#4D9CC2 #4D62C2 #724DC2
triadic
#4D62C2 #C24D62 #62C24D
tetradic
#4D62C2 #C24D9C #C2AD4D #4DC272
square
#4D62C2 #C24D9C #C2AD4D #4DC272
split-complementary
#4D62C2 #C2724D #9CC24D
monochromatic
#26336F #36489C #4D62C2 #7B8AD2 #A8B2E1

Accessibility & contrast

On white

5.47
#4D62C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4D62C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D62C2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D62C2#FFFFFF#000000##FFFFFF
##4D62C21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306FC5
Deuteranopia (green-blind)
#1864C0
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d62c2;
/* rgb */ color: rgb(77, 98, 194);
/* oklch */ color: oklch(53.0% 0.151 271.1);
Tailwind
colors: {
  custom: {
    50: '#898ed5',
    500: '#4d62c2',
    950: '#000000',
  },
}
SCSS
$custom: #4d62c2;
$custom-light: #898ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d62c2",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 229.231,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52991,
    "c": 0.15117,
    "h": 271.1
  },
  "luminance": 0.14208
}

Semantic roles & 50–950 ramp

primary
#4D62C2
secondary
#CFC69C
accent
#C04FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4D62C2

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

Preview Lab → · Contrast checker → · Palette generator →

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