#4D7FEB#4D7FEB

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

Color values

HEX#4D7FEB
RGBrgb(77, 127, 235)
HSLhsl(221, 80%, 61%)
HSVhsv(221, 67%, 92%)
CMYKcmyk(67.2%, 46%, 0%, 7.8%)
CIE-LABlab(54.82, 17.83, -59.59)
CIE-LCHlch(54.82, 62.20, 286.66°)
OKLaboklab(61.65% -0.0194 -0.1706)
OKLCHoklch(61.65% 0.172 263.5)
XYZxyz(25.6401, 22.7521, 81.6215)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FEB #EBB94D
analogous
#4DCEEB #4D7FEB #6A4DEB
triadic
#4D7FEB #EB4D7F #7FEB4D
tetradic
#4D7FEB #EB4DCE #EBB94D #4DEB6A
square
#4D7FEB #EB4DCE #EBB94D #4DEB6A
split-complementary
#4D7FEB #EB6A4D #CEEB4D
monochromatic
#1343AA #1959E1 #4D7FEB #84A7F1 #BBCEF7

Accessibility & contrast

On white

3.78
#4D7FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7FEB#FFFFFF#000000##000000
##4D7FEB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#488BEF
Deuteranopia (green-blind)
#277CE9
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4d7feb;
/* rgb */ color: rgb(77, 127, 235);
/* oklch */ color: oklch(61.7% 0.172 263.5);
Tailwind
colors: {
  custom: {
    50: '#8fa3f2',
    500: '#4d7feb',
    950: '#000000',
  },
}
SCSS
$custom: #4d7feb;
$custom-light: #8fa3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7feb",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 221.013,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61652,
    "c": 0.1717,
    "h": 263.5
  },
  "luminance": 0.22755
}

Semantic roles & 50–950 ramp

primary
#4D7FEB
secondary
#E8D5AC
accent
#9909DC
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4D7FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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