#4D7EE1#4D7EE1

#4D7EE1 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.8% C 0.159 H 262.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4D7EE1
RGBrgb(77, 126, 225)
HSLhsl(220, 71%, 59%)
HSVhsv(220, 66%, 88%)
CMYKcmyk(65.8%, 44%, 0%, 11.8%)
CIE-LABlab(53.96, 14.96, -55.37)
CIE-LCHlch(53.96, 57.36, 285.12°)
OKLaboklab(60.8% -0.0201 -0.1582)
OKLCHoklch(60.8% 0.159 262.8)
XYZxyz(24.1072, 21.9334, 74.1827)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7EE1 #E1B04D
analogous
#4DC8E1 #4D7EE1 #664DE1
triadic
#4D7EE1 #E14D7E #7EE14D
tetradic
#4D7EE1 #E14DC8 #E1B04D #4DE166
square
#4D7EE1 #E14DC8 #E1B04D #4DE166
split-complementary
#4D7EE1 #E1664D #C8E14D
monochromatic
#1A449A #235BCE #4D7EE1 #81A4EA #B6CAF3

Accessibility & contrast

On white

3.90
#4D7EE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#4D7EE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7EE1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7EE1#FFFFFF#000000##000000
##4D7EE11.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E88E5
Deuteranopia (green-blind)
#357BDF
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4d7ee1;
/* rgb */ color: rgb(77, 126, 225);
/* oklch */ color: oklch(60.8% 0.159 262.8);
Tailwind
colors: {
  custom: {
    50: '#8da2eb',
    500: '#4d7ee1',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ee1;
$custom-light: #8da2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ee1",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 225
  },
  "hsl": {
    "h": 220.135,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60802,
    "c": 0.15949,
    "h": 262.8
  },
  "luminance": 0.21936
}

Semantic roles & 50–950 ramp

primary
#4D7EE1
secondary
#E2CFA8
accent
#B23AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4D7EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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