#4D7DF2#4D7DF2

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

Color values

HEX#4D7DF2
RGBrgb(77, 125, 242)
HSLhsl(223, 86%, 63%)
HSVhsv(223, 68%, 95%)
CMYKcmyk(68.2%, 48.3%, 0%, 5.1%)
CIE-LABlab(54.71, 21.50, -63.65)
CIE-LCHlch(54.71, 67.18, 288.66°)
OKLaboklab(61.71% -0.0167 -0.1826)
OKLCHoklch(61.71% 0.183 264.8)
XYZxyz(26.4156, 22.6532, 86.9676)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7DF2 #F2C24D
analogous
#4DD0F2 #4D7DF2 #6F4DF2
triadic
#4D7DF2 #F24D7D #7DF24D
tetradic
#4D7DF2 #F24DD0 #F2C24D #4DF26F
square
#4D7DF2 #F24DD0 #F2C24D #4DF26F
split-complementary
#4D7DF2 #F26F4D #D0F24D
monochromatic
#0D3FB7 #1453EE #4D7DF2 #86A7F6 #BFD0FA

Accessibility & contrast

On white

3.80
#4D7DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#4D7DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7DF2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7DF2#FFFFFF#000000##000000
##4D7DF21.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8BF6
Deuteranopia (green-blind)
#047CF0
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4d7df2;
/* rgb */ color: rgb(77, 125, 242);
/* oklch */ color: oklch(61.7% 0.183 264.8);
Tailwind
colors: {
  custom: {
    50: '#90a2f7',
    500: '#4d7df2',
    950: '#000000',
  },
}
SCSS
$custom: #4d7df2;
$custom-light: #90a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7df2",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 222.545,
    "s": 86.387,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61711,
    "c": 0.18333,
    "h": 264.8
  },
  "luminance": 0.22656
}

Semantic roles & 50–950 ramp

primary
#4D7DF2
secondary
#EBDAAF
accent
#A203E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4D7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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