#4D7EC6#4D7EC6

#4D7EC6 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.2% C 0.123 H 257.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4D7EC6
RGBrgb(77, 126, 198)
HSLhsl(216, 51%, 54%)
HSVhsv(216, 61%, 78%)
CMYKcmyk(61.1%, 36.4%, 0%, 22.4%)
CIE-LABlab(52.48, 5.70, -42.45)
CIE-LCHlch(52.48, 42.83, 277.65°)
OKLaboklab(59.18% -0.0257 -0.1203)
OKLCHoklch(59.18% 0.123 257.9)
XYZxyz(20.7109, 20.5748, 56.2950)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7EC6 #C6954D
analogous
#4DBBC6 #4D7EC6 #594DC6
triadic
#4D7EC6 #C64D7E #7EC64D
tetradic
#4D7EC6 #C64DBB #C6954D #4DC659
square
#4D7EC6 #C64DBB #C6954D #4DC659
split-complementary
#4D7EC6 #C6594D #BBC64D
monochromatic
#254574 #3460A2 #4D7EC6 #7BA0D5 #AAC1E4

Accessibility & contrast

On white

4.11
#4D7EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4D7EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7EC6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7EC6#FFFFFF#000000##000000
##4D7EC61.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F83C9
Deuteranopia (green-blind)
#4F78C5
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4d7ec6;
/* rgb */ color: rgb(77, 126, 198);
/* oklch */ color: oklch(59.2% 0.123 257.9);
Tailwind
colors: {
  custom: {
    50: '#89a3d7',
    500: '#4d7ec6',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ec6;
$custom-light: #89a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ec6",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 215.702,
    "s": 51.489,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59181,
    "c": 0.12306,
    "h": 257.9
  },
  "luminance": 0.20577
}

Semantic roles & 50–950 ramp

primary
#4D7EC6
secondary
#D1BC9E
accent
#A14DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4D7EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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