#4D7FEA#4D7FEA

#4D7FEA is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.6% C 0.170 H 263.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4D7FEA
RGBrgb(77, 127, 234)
HSLhsl(221, 79%, 61%)
HSVhsv(221, 67%, 92%)
CMYKcmyk(67.1%, 45.7%, 0%, 8.2%)
CIE-LABlab(54.76, 17.48, -59.12)
CIE-LCHlch(54.76, 61.65, 286.47°)
OKLaboklab(61.59% -0.0196 -0.1692)
OKLCHoklch(61.59% 0.17 263.4)
XYZxyz(25.4960, 22.6945, 80.8628)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FEA #EAB84D
analogous
#4DCDEA #4D7FEA #694DEA
triadic
#4D7FEA #EA4D7F #7FEA4D
tetradic
#4D7FEA #EA4DCD #EAB84D #4DEA69
square
#4D7FEA #EA4DCD #EAB84D #4DEA69
split-complementary
#4D7FEA #EA694D #CDEA4D
monochromatic
#1443A9 #1A59DF #4D7FEA #84A6F0 #BACEF7

Accessibility & contrast

On white

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

On black

5.54
#4D7FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FEA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FEA#FFFFFF#000000##000000
##4D7FEA1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEE
Deuteranopia (green-blind)
#297CE8
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4d7fea;
/* rgb */ color: rgb(77, 127, 234);
/* oklch */ color: oklch(61.6% 0.170 263.4);
Tailwind
colors: {
  custom: {
    50: '#8fa3f1',
    500: '#4d7fea',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fea;
$custom-light: #8fa3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fea",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 220.892,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61587,
    "c": 0.17037,
    "h": 263.4
  },
  "luminance": 0.22697
}

Semantic roles & 50–950 ramp

primary
#4D7FEA
secondary
#E7D4AC
accent
#990ADB
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4D7FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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