#4D7ECB#4D7ECB

#4D7ECB is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.5% C 0.130 H 259.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4D7ECB
RGBrgb(77, 126, 203)
HSLhsl(217, 55%, 55%)
HSVhsv(217, 62%, 80%)
CMYKcmyk(62.1%, 37.9%, 0%, 20.4%)
CIE-LABlab(52.74, 7.40, -44.89)
CIE-LCHlch(52.74, 45.49, 279.36°)
OKLaboklab(59.47% -0.0245 -0.1275)
OKLCHoklch(59.47% 0.13 259.1)
XYZxyz(21.2971, 20.8093, 59.3826)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7ECB #CB9A4D
analogous
#4DBDCB #4D7ECB #5B4DCB
triadic
#4D7ECB #CB4D7E #7ECB4D
tetradic
#4D7ECB #CB4DBD #CB9A4D #4DCB5B
square
#4D7ECB #CB4DBD #CB9A4D #4DCB5B
split-complementary
#4D7ECB #CB5B4D #BDCB4D
monochromatic
#24457A #3160A9 #4D7ECB #7CA0D9 #ACC3E7

Accessibility & contrast

On white

4.07
#4D7ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4D7ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7ECB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7ECB#FFFFFF#000000##000000
##4D7ECB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CE
Deuteranopia (green-blind)
#4B78C9
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d7ecb;
/* rgb */ color: rgb(77, 126, 203);
/* oklch */ color: oklch(59.5% 0.130 259.1);
Tailwind
colors: {
  custom: {
    50: '#8aa3db',
    500: '#4d7ecb',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ecb;
$custom-light: #8aa3db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ecb",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 216.667,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59467,
    "c": 0.12981,
    "h": 259.1
  },
  "luminance": 0.20811
}

Semantic roles & 50–950 ramp

primary
#4D7ECB
secondary
#D4C09F
accent
#A44ADE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0F15
muted
#7D7E83

Preview Lab

Preview with #4D7ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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