#4D7EEF#4D7EEF

#4D7EEF is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.7% C 0.178 H 264.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4D7EEF
RGBrgb(77, 126, 239)
HSLhsl(222, 84%, 62%)
HSVhsv(222, 68%, 94%)
CMYKcmyk(67.8%, 47.3%, 0%, 6.3%)
CIE-LABlab(54.79, 19.84, -61.85)
CIE-LCHlch(54.79, 64.95, 287.78°)
OKLaboklab(61.71% -0.018 -0.1773)
OKLCHoklch(61.71% 0.178 264.2)
XYZxyz(26.0959, 22.7289, 84.6565)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7EEF #EFBE4D
analogous
#4DCFEF #4D7EEF #6D4DEF
triadic
#4D7EEF #EF4D7E #7EEF4D
tetradic
#4D7EEF #EF4DCF #EFBE4D #4DEF6D
square
#4D7EEF #EF4DCF #EFBE4D #4DEF6D
split-complementary
#4D7EEF #EF6D4D #CFEF4D
monochromatic
#1041B2 #1555EA #4D7EEF #85A7F4 #BDCFF9

Accessibility & contrast

On white

3.79
#4D7EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#4D7EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7EEF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7EEF#FFFFFF#000000##000000
##4D7EEF1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#428BF3
Deuteranopia (green-blind)
#1A7CED
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4d7eef;
/* rgb */ color: rgb(77, 126, 239);
/* oklch */ color: oklch(61.7% 0.178 264.2);
Tailwind
colors: {
  custom: {
    50: '#90a2f5',
    500: '#4d7eef',
    950: '#000000',
  },
}
SCSS
$custom: #4d7eef;
$custom-light: #90a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7eef",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 221.852,
    "s": 83.505,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61712,
    "c": 0.17819,
    "h": 264.2
  },
  "luminance": 0.22731
}

Semantic roles & 50–950 ramp

primary
#4D7EEF
secondary
#EAD8AE
accent
#9E06E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4D7EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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