#4D7FE1#4D7FE1

#4D7FE1 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.0% C 0.158 H 262.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4D7FE1
RGBrgb(77, 127, 225)
HSLhsl(220, 71%, 59%)
HSVhsv(220, 66%, 88%)
CMYKcmyk(65.8%, 43.6%, 0%, 11.8%)
CIE-LABlab(54.23, 14.35, -54.94)
CIE-LCHlch(54.23, 56.78, 284.64°)
OKLaboklab(61.01% -0.0211 -0.1569)
OKLCHoklch(61.01% 0.158 262.4)
XYZxyz(24.2358, 22.1904, 74.2255)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FE1 #E1AF4D
analogous
#4DC9E1 #4D7FE1 #654DE1
triadic
#4D7FE1 #E14D7F #7FE14D
tetradic
#4D7FE1 #E14DC9 #E1AF4D #4DE165
square
#4D7FE1 #E14DC9 #E1AF4D #4DE165
split-complementary
#4D7FE1 #E1654D #C9E14D
monochromatic
#1A459A #235DCE #4D7FE1 #81A5EA #B6CAF3

Accessibility & contrast

On white

3.86
#4D7FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#4D7FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FE1
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FE1#FFFFFF#000000##000000
##4D7FE11.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5089E5
Deuteranopia (green-blind)
#377BDF
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4d7fe1;
/* rgb */ color: rgb(77, 127, 225);
/* oklch */ color: oklch(61.0% 0.158 262.4);
Tailwind
colors: {
  custom: {
    50: '#8da3eb',
    500: '#4d7fe1',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fe1;
$custom-light: #8da3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fe1",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 225
  },
  "hsl": {
    "h": 219.73,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61011,
    "c": 0.15834,
    "h": 262.4
  },
  "luminance": 0.22193
}

Semantic roles & 50–950 ramp

primary
#4D7FE1
secondary
#E2CEA8
accent
#B13AEE
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4D7FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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