#4D62BC#4D62BC

#4D62BC is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.6% C 0.143 H 270.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4D62BC
RGBrgb(77, 98, 188)
HSLhsl(229, 45%, 52%)
HSVhsv(229, 59%, 74%)
CMYKcmyk(59%, 47.9%, 0%, 26.3%)
CIE-LABlab(44.15, 19.67, -49.96)
CIE-LCHlch(44.15, 53.69, 291.49°)
OKLaboklab(52.58% 0.0023 -0.1427)
OKLCHoklch(52.58% 0.143 270.9)
XYZxyz(16.5023, 13.9427, 49.3888)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D62BC #BCA74D
analogous
#4D99BC #4D62BC #704DBC
triadic
#4D62BC #BC4D62 #62BC4D
tetradic
#4D62BC #BC4D99 #BCA74D #4DBC70
square
#4D62BC #BC4D99 #BCA74D #4DBC70
split-complementary
#4D62BC #BC704D #99BC4D
monochromatic
#273368 #384994 #4D62BC #7989CD #A6B0DD

Accessibility & contrast

On white

5.54
#4D62BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4D62BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D62BC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D62BC#FFFFFF#000000##FFFFFF
##4D62BC1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366EBF
Deuteranopia (green-blind)
#2464BA
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d62bc;
/* rgb */ color: rgb(77, 98, 188);
/* oklch */ color: oklch(52.6% 0.143 270.9);
Tailwind
colors: {
  custom: {
    50: '#888ed1',
    500: '#4d62bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d62bc;
$custom-light: #888ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d62bc",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 228.649,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52583,
    "c": 0.14271,
    "h": 270.9
  },
  "luminance": 0.13944
}

Semantic roles & 50–950 ramp

primary
#4D62BC
secondary
#CBC29A
accent
#BC53D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4D62BC

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

Preview Lab → · Contrast checker → · Palette generator →

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