#4D7EEB#4D7EEB

#4D7EEB is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.4% C 0.173 H 263.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4D7EEB
RGBrgb(77, 126, 235)
HSLhsl(221, 80%, 61%)
HSVhsv(221, 67%, 92%)
CMYKcmyk(67.2%, 46.4%, 0%, 7.8%)
CIE-LABlab(54.55, 18.44, -60.01)
CIE-LCHlch(54.55, 62.78, 287.08°)
OKLaboklab(61.45% -0.0185 -0.1719)
OKLCHoklch(61.45% 0.173 263.8)
XYZxyz(25.5115, 22.4951, 81.5787)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7EEB #EBBA4D
analogous
#4DCDEB #4D7EEB #6B4DEB
triadic
#4D7EEB #EB4D7E #7EEB4D
tetradic
#4D7EEB #EB4DCD #EBBA4D #4DEB6B
square
#4D7EEB #EB4DCD #EBBA4D #4DEB6B
split-complementary
#4D7EEB #EB6B4D #CDEB4D
monochromatic
#1342AA #1957E1 #4D7EEB #84A6F1 #BBCEF7

Accessibility & contrast

On white

3.82
#4D7EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#4D7EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7EEB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7EEB#FFFFFF#000000##000000
##4D7EEB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#247CE9
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4d7eeb;
/* rgb */ color: rgb(77, 126, 235);
/* oklch */ color: oklch(61.4% 0.173 263.8);
Tailwind
colors: {
  custom: {
    50: '#8fa2f2',
    500: '#4d7eeb',
    950: '#000000',
  },
}
SCSS
$custom: #4d7eeb;
$custom-light: #8fa2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7eeb",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 221.392,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61447,
    "c": 0.17287,
    "h": 263.8
  },
  "luminance": 0.22498
}

Semantic roles & 50–950 ramp

primary
#4D7EEB
secondary
#E8D5AC
accent
#9B09DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4D7EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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