#4D7CF4#4D7CF4

#4D7CF4 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.6% C 0.187 H 265.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4D7CF4
RGBrgb(77, 124, 244)
HSLhsl(223, 88%, 63%)
HSVhsv(223, 68%, 96%)
CMYKcmyk(68.4%, 49.2%, 0%, 4.3%)
CIE-LABlab(54.58, 22.81, -64.98)
CIE-LCHlch(54.58, 68.86, 289.34°)
OKLaboklab(61.65% -0.0156 -0.1865)
OKLCHoklch(61.65% 0.187 265.2)
XYZxyz(26.5916, 22.5221, 88.5162)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CF4 #F4C54D
analogous
#4DCFF4 #4D7CF4 #714DF4
triadic
#4D7CF4 #F44D7C #7CF44D
tetradic
#4D7CF4 #F44DCF #F4C54D #4DF471
square
#4D7CF4 #F44DCF #F4C54D #4DF471
split-complementary
#4D7CF4 #F4714D #CFF44D
monochromatic
#0C3DBB #1352F0 #4D7CF4 #87A6F8 #C0D1FB

Accessibility & contrast

On white

3.81
#4D7CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#4D7CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CF4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CF4#FFFFFF#000000##000000
##4D7CF41.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#378BF8
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4d7cf4;
/* rgb */ color: rgb(77, 124, 244);
/* oklch */ color: oklch(61.6% 0.187 265.2);
Tailwind
colors: {
  custom: {
    50: '#91a1f8',
    500: '#4d7cf4',
    950: '#000000',
  },
}
SCSS
$custom: #4d7cf4;
$custom-light: #91a1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7cf4",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 244
  },
  "hsl": {
    "h": 223.114,
    "s": 88.36,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61647,
    "c": 0.18715,
    "h": 265.2
  },
  "luminance": 0.22525
}

Semantic roles & 50–950 ramp

primary
#4D7CF4
secondary
#ECDCB0
accent
#A501E5
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4D7CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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