#4D7BE2#4D7BE2

#4D7BE2 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.2% C 0.164 H 264.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4D7BE2
RGBrgb(77, 123, 226)
HSLhsl(221, 72%, 59%)
HSVhsv(221, 66%, 89%)
CMYKcmyk(65.9%, 45.6%, 0%, 11.4%)
CIE-LABlab(53.20, 17.15, -57.14)
CIE-LCHlch(53.20, 59.66, 286.71°)
OKLaboklab(60.24% -0.0171 -0.1635)
OKLCHoklch(60.24% 0.164 264)
XYZxyz(23.8662, 21.2324, 74.7773)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7BE2 #E2B44D
analogous
#4DC5E2 #4D7BE2 #6A4DE2
triadic
#4D7BE2 #E24D7B #7BE24D
tetradic
#4D7BE2 #E24DC5 #E2B44D #4DE26A
square
#4D7BE2 #E24DC5 #E2B44D #4DE26A
split-complementary
#4D7BE2 #E26A4D #C5E24D
monochromatic
#19419B #2258D0 #4D7BE2 #82A2EB #B6C9F3

Accessibility & contrast

On white

4.00
#4D7BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4D7BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7BE2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7BE2#FFFFFF#000000##000000
##4D7BE21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4886E6
Deuteranopia (green-blind)
#2B79E0
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7be2;
/* rgb */ color: rgb(77, 123, 226);
/* oklch */ color: oklch(60.2% 0.164 264.0);
Tailwind
colors: {
  custom: {
    50: '#8ea0ec',
    500: '#4d7be2',
    950: '#000000',
  },
}
SCSS
$custom: #4d7be2;
$custom-light: #8ea0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7be2",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 221.477,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60242,
    "c": 0.16436,
    "h": 264
  },
  "luminance": 0.21235
}

Semantic roles & 50–950 ramp

primary
#4D7BE2
secondary
#E2D1A8
accent
#B739EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4D7BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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