#4D7EDA#4D7EDA

#4D7EDA is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.4% C 0.150 H 261.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4D7EDA
RGBrgb(77, 126, 218)
HSLhsl(219, 66%, 58%)
HSVhsv(219, 65%, 85%)
CMYKcmyk(64.7%, 42.2%, 0%, 14.5%)
CIE-LABlab(53.56, 12.54, -52.08)
CIE-LCHlch(53.56, 53.56, 283.54°)
OKLaboklab(60.36% -0.0214 -0.1485)
OKLCHoklch(60.36% 0.15 261.8)
XYZxyz(23.1718, 21.5592, 69.2563)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7EDA #DAA94D
analogous
#4DC4DA #4D7EDA #624DDA
triadic
#4D7EDA #DA4D7E #7EDA4D
tetradic
#4D7EDA #DA4DC4 #DAA94D #4DDA62
square
#4D7EDA #DA4DC4 #DAA94D #4DDA62
split-complementary
#4D7EDA #DA624D #C4DA4D
monochromatic
#1E458F #285EC2 #4D7EDA #80A3E5 #B2C7EF

Accessibility & contrast

On white

3.95
#4D7EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4D7EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7EDA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7EDA#FFFFFF#000000##000000
##4D7EDA1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5387DE
Deuteranopia (green-blind)
#3D7AD8
Tritanopia (blue-blind)
#0093A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4d7eda;
/* rgb */ color: rgb(77, 126, 218);
/* oklch */ color: oklch(60.4% 0.150 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ca2e6',
    500: '#4d7eda',
    950: '#000000',
  },
}
SCSS
$custom: #4d7eda;
$custom-light: #8ca2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7eda",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 219.149,
    "s": 65.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60364,
    "c": 0.15007,
    "h": 261.8
  },
  "luminance": 0.21561
}

Semantic roles & 50–950 ramp

primary
#4D7EDA
secondary
#DECAA5
accent
#AE3FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4D7EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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