#4D7FE0#4D7FE0

#4D7FE0 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.9% C 0.157 H 262.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4D7FE0
RGBrgb(77, 127, 224)
HSLhsl(220, 70%, 59%)
HSVhsv(220, 66%, 88%)
CMYKcmyk(65.6%, 43.3%, 0%, 12.2%)
CIE-LABlab(54.17, 14.01, -54.47)
CIE-LCHlch(54.17, 56.24, 284.42°)
OKLaboklab(60.95% -0.0212 -0.1555)
OKLCHoklch(60.95% 0.157 262.2)
XYZxyz(24.0997, 22.1360, 73.5092)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FE0 #E0AE4D
analogous
#4DC9E0 #4D7FE0 #654DE0
triadic
#4D7FE0 #E04D7F #7FE04D
tetradic
#4D7FE0 #E04DC9 #E0AE4D #4DE065
square
#4D7FE0 #E04DC9 #E0AE4D #4DE065
split-complementary
#4D7FE0 #E0654D #C9E04D
monochromatic
#1A4598 #245DCC #4D7FE0 #81A4E9 #B5CAF2

Accessibility & contrast

On white

3.87
#4D7FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#4D7FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FE0
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FE0#FFFFFF#000000##000000
##4D7FE01.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5189E4
Deuteranopia (green-blind)
#387BDE
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4d7fe0;
/* rgb */ color: rgb(77, 127, 224);
/* oklch */ color: oklch(60.9% 0.157 262.2);
Tailwind
colors: {
  custom: {
    50: '#8da3ea',
    500: '#4d7fe0',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fe0;
$custom-light: #8da3ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fe0",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 224
  },
  "hsl": {
    "h": 219.592,
    "s": 70.335,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60948,
    "c": 0.15699,
    "h": 262.2
  },
  "luminance": 0.22138
}

Semantic roles & 50–950 ramp

primary
#4D7FE0
secondary
#E1CEA8
accent
#B03BED
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4D7FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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