#4D7BE3#4D7BE3

#4D7BE3 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.3% C 0.166 H 264.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4D7BE3
RGBrgb(77, 123, 227)
HSLhsl(222, 73%, 60%)
HSVhsv(222, 66%, 89%)
CMYKcmyk(66.1%, 45.8%, 0%, 11%)
CIE-LABlab(53.26, 17.50, -57.60)
CIE-LCHlch(53.26, 60.20, 286.90°)
OKLaboklab(60.31% -0.017 -0.1648)
OKLCHoklch(60.31% 0.166 264.1)
XYZxyz(24.0038, 21.2874, 75.5020)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7BE3 #E3B54D
analogous
#4DC6E3 #4D7BE3 #6A4DE3
triadic
#4D7BE3 #E34D7B #7BE34D
tetradic
#4D7BE3 #E34DC6 #E3B54D #4DE36A
square
#4D7BE3 #E34DC6 #E3B54D #4DE36A
split-complementary
#4D7BE3 #E36A4D #C6E34D
monochromatic
#19419D #2157D2 #4D7BE3 #82A2EB #B7C9F4

Accessibility & contrast

On white

3.99
#4D7BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4D7BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7BE3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7BE3#FFFFFF#000000##000000
##4D7BE31.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4787E7
Deuteranopia (green-blind)
#2979E1
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7be3;
/* rgb */ color: rgb(77, 123, 227);
/* oklch */ color: oklch(60.3% 0.166 264.1);
Tailwind
colors: {
  custom: {
    50: '#8ea0ec',
    500: '#4d7be3',
    950: '#000000',
  },
}
SCSS
$custom: #4d7be3;
$custom-light: #8ea0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7be3",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 227
  },
  "hsl": {
    "h": 221.6,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60307,
    "c": 0.1657,
    "h": 264.1
  },
  "luminance": 0.2129
}

Semantic roles & 50–950 ramp

primary
#4D7BE3
secondary
#E3D1A9
accent
#B738F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4D7BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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