#4D7BE5#4D7BE5

#4D7BE5 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.4% C 0.168 H 264.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4D7BE5
RGBrgb(77, 123, 229)
HSLhsl(222, 75%, 60%)
HSVhsv(222, 66%, 90%)
CMYKcmyk(66.4%, 46.3%, 0%, 10.2%)
CIE-LABlab(53.38, 18.20, -58.53)
CIE-LCHlch(53.38, 61.30, 287.27°)
OKLaboklab(60.44% -0.0167 -0.1676)
OKLCHoklch(60.44% 0.168 264.3)
XYZxyz(24.2814, 21.3985, 76.9642)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7BE5 #E5B74D
analogous
#4DC7E5 #4D7BE5 #6B4DE5
triadic
#4D7BE5 #E54D7B #7BE54D
tetradic
#4D7BE5 #E54DC7 #E5B74D #4DE56B
square
#4D7BE5 #E54DC7 #E5B74D #4DE56B
split-complementary
#4D7BE5 #E56B4D #C7E54D
monochromatic
#1741A0 #1F56D6 #4D7BE5 #82A3ED #B8CAF5

Accessibility & contrast

On white

3.98
#4D7BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4D7BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7BE5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7BE5#FFFFFF#000000##000000
##4D7BE51.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4587E9
Deuteranopia (green-blind)
#2679E3
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7be5;
/* rgb */ color: rgb(77, 123, 229);
/* oklch */ color: oklch(60.4% 0.168 264.3);
Tailwind
colors: {
  custom: {
    50: '#8ea0ee',
    500: '#4d7be5',
    950: '#000000',
  },
}
SCSS
$custom: #4d7be5;
$custom-light: #8ea0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7be5",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 229
  },
  "hsl": {
    "h": 221.842,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.60438,
    "c": 0.16839,
    "h": 264.3
  },
  "luminance": 0.21401
}

Semantic roles & 50–950 ramp

primary
#4D7BE5
secondary
#E4D2AA
accent
#B937F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4D7BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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