#4D7EF2#4D7EF2

#4D7EF2 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.9% C 0.182 H 264.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4D7EF2
RGBrgb(77, 126, 242)
HSLhsl(222, 86%, 63%)
HSVhsv(222, 68%, 95%)
CMYKcmyk(68.2%, 47.9%, 0%, 5.1%)
CIE-LABlab(54.98, 20.88, -63.22)
CIE-LCHlch(54.98, 66.58, 288.28°)
OKLaboklab(61.91% -0.0176 -0.1813)
OKLCHoklch(61.91% 0.182 264.5)
XYZxyz(26.5428, 22.9076, 87.0100)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7EF2 #F2C14D
analogous
#4DD0F2 #4D7EF2 #6F4DF2
triadic
#4D7EF2 #F24D7E #7EF24D
tetradic
#4D7EF2 #F24DD0 #F2C14D #4DF26F
square
#4D7EF2 #F24DD0 #F2C14D #4DF26F
split-complementary
#4D7EF2 #F26F4D #D0F24D
monochromatic
#0D40B7 #1455EE #4D7EF2 #86A7F6 #BFD1FA

Accessibility & contrast

On white

3.76
#4D7EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#4D7EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7EF2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7EF2#FFFFFF#000000##000000
##4D7EF21.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF6
Deuteranopia (green-blind)
#0E7CF0
Tritanopia (blue-blind)
#0099AC
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4d7ef2;
/* rgb */ color: rgb(77, 126, 242);
/* oklch */ color: oklch(61.9% 0.182 264.5);
Tailwind
colors: {
  custom: {
    50: '#90a2f7',
    500: '#4d7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ef2;
$custom-light: #90a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ef2",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 222.182,
    "s": 86.387,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61913,
    "c": 0.18216,
    "h": 264.5
  },
  "luminance": 0.2291
}

Semantic roles & 50–950 ramp

primary
#4D7EF2
secondary
#EBDAAF
accent
#A003E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4D7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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