#4D7BE1#4D7BE1

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

Color values

HEX#4D7BE1
RGBrgb(77, 123, 225)
HSLhsl(221, 71%, 59%)
HSVhsv(221, 66%, 88%)
CMYKcmyk(65.8%, 45.3%, 0%, 11.8%)
CIE-LABlab(53.14, 16.81, -56.67)
CIE-LCHlch(53.14, 59.11, 286.52°)
OKLaboklab(60.18% -0.0173 -0.1621)
OKLCHoklch(60.18% 0.163 263.9)
XYZxyz(23.7294, 21.1777, 74.0567)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7BE1 #E1B34D
analogous
#4DC5E1 #4D7BE1 #694DE1
triadic
#4D7BE1 #E14D7B #7BE14D
tetradic
#4D7BE1 #E14DC5 #E1B34D #4DE169
square
#4D7BE1 #E14DC5 #E1B34D #4DE169
split-complementary
#4D7BE1 #E1694D #C5E14D
monochromatic
#1A429A #2358CE #4D7BE1 #81A2EA #B6C9F3

Accessibility & contrast

On white

4.01
#4D7BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4D7BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7BE1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7BE1#FFFFFF#000000##000000
##4D7BE11.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d7be1;
/* rgb */ color: rgb(77, 123, 225);
/* oklch */ color: oklch(60.2% 0.163 263.9);
Tailwind
colors: {
  custom: {
    50: '#8da0eb',
    500: '#4d7be1',
    950: '#000000',
  },
}
SCSS
$custom: #4d7be1;
$custom-light: #8da0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7be1",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 225
  },
  "hsl": {
    "h": 221.351,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60177,
    "c": 0.16301,
    "h": 263.9
  },
  "luminance": 0.2118
}

Semantic roles & 50–950 ramp

primary
#4D7BE1
secondary
#E2D0A8
accent
#B63AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D7BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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