#4D7BEC#4D7BEC

#4D7BEC is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.9% C 0.178 H 264.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4D7BEC
RGBrgb(77, 123, 236)
HSLhsl(223, 81%, 61%)
HSVhsv(223, 67%, 93%)
CMYKcmyk(67.4%, 47.9%, 0%, 7.5%)
CIE-LABlab(53.81, 20.63, -61.76)
CIE-LCHlch(53.81, 65.11, 288.48°)
OKLaboklab(60.9% -0.0157 -0.1771)
OKLCHoklch(60.9% 0.178 264.9)
XYZxyz(25.2786, 21.7973, 82.2157)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7BEC #ECBE4D
analogous
#4DCAEC #4D7BEC #6F4DEC
triadic
#4D7BEC #EC4D7B #7BEC4D
tetradic
#4D7BEC #EC4DCA #ECBE4D #4DEC6F
square
#4D7BEC #EC4DCA #ECBE4D #4DEC6F
split-complementary
#4D7BEC #EC6F4D #CAEC4D
monochromatic
#123FAC #1853E4 #4D7BEC #84A4F2 #BCCDF8

Accessibility & contrast

On white

3.92
#4D7BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4D7BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7BEC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7BEC#FFFFFF#000000##000000
##4D7BEC1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E88F0
Deuteranopia (green-blind)
#137AEA
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4d7bec;
/* rgb */ color: rgb(77, 123, 236);
/* oklch */ color: oklch(60.9% 0.178 264.9);
Tailwind
colors: {
  custom: {
    50: '#8fa0f3',
    500: '#4d7bec',
    950: '#000000',
  },
}
SCSS
$custom: #4d7bec;
$custom-light: #8fa0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7bec",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 222.642,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60903,
    "c": 0.17775,
    "h": 264.9
  },
  "luminance": 0.218
}

Semantic roles & 50–950 ramp

primary
#4D7BEC
secondary
#E8D7AD
accent
#A008DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4D7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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