#4D7EDB#4D7EDB

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

Color values

HEX#4D7EDB
RGBrgb(77, 126, 219)
HSLhsl(219, 66%, 58%)
HSVhsv(219, 65%, 86%)
CMYKcmyk(64.8%, 42.5%, 0%, 14.1%)
CIE-LABlab(53.61, 12.89, -52.55)
CIE-LCHlch(53.61, 54.11, 283.78°)
OKLaboklab(60.43% -0.0212 -0.1499)
OKLCHoklch(60.43% 0.151 262)
XYZxyz(23.3031, 21.6117, 69.9475)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7EDB #DBAA4D
analogous
#4DC5DB #4D7EDB #634DDB
triadic
#4D7EDB #DB4D7E #7EDB4D
tetradic
#4D7EDB #DB4DC5 #DBAA4D #4DDB63
square
#4D7EDB #DB4DC5 #DBAA4D #4DDB63
split-complementary
#4D7EDB #DB634D #C5DB4D
monochromatic
#1D4590 #275DC3 #4D7EDB #80A3E5 #B3C8F0

Accessibility & contrast

On white

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

On black

5.32
#4D7EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7EDB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7EDB#FFFFFF#000000##000000
##4D7EDB1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5387DF
Deuteranopia (green-blind)
#3C7AD9
Tritanopia (blue-blind)
#0093A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4d7edb;
/* rgb */ color: rgb(77, 126, 219);
/* oklch */ color: oklch(60.4% 0.151 262.0);
Tailwind
colors: {
  custom: {
    50: '#8ca2e7',
    500: '#4d7edb',
    950: '#000000',
  },
}
SCSS
$custom: #4d7edb;
$custom-light: #8ca2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7edb",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 219
  },
  "hsl": {
    "h": 219.296,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60426,
    "c": 0.15142,
    "h": 262
  },
  "luminance": 0.21614
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D7EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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