#4D7FE6#4D7FE6

#4D7FE6 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.3% C 0.165 H 263.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4D7FE6
RGBrgb(77, 127, 230)
HSLhsl(220, 75%, 60%)
HSVhsv(220, 67%, 90%)
CMYKcmyk(66.5%, 44.8%, 0%, 9.8%)
CIE-LABlab(54.52, 16.09, -57.27)
CIE-LCHlch(54.52, 59.49, 285.69°)
OKLaboklab(61.33% -0.0202 -0.1638)
OKLCHoklch(61.33% 0.165 263)
XYZxyz(24.9278, 22.4672, 77.8705)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FE6 #E6B44D
analogous
#4DCBE6 #4D7FE6 #674DE6
triadic
#4D7FE6 #E64D7F #7FE64D
tetradic
#4D7FE6 #E64DCB #E6B44D #4DE667
square
#4D7FE6 #E64DCB #E6B44D #4DE667
split-complementary
#4D7FE6 #E6674D #CBE64D
monochromatic
#1744A2 #1E5BD8 #4D7FE6 #83A6EE #B8CCF5

Accessibility & contrast

On white

3.82
#4D7FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#4D7FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FE6
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FE6#FFFFFF#000000##000000
##4D7FE61.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8AEA
Deuteranopia (green-blind)
#307CE4
Tritanopia (blue-blind)
#0097A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4d7fe6;
/* rgb */ color: rgb(77, 127, 230);
/* oklch */ color: oklch(61.3% 0.165 263.0);
Tailwind
colors: {
  custom: {
    50: '#8ea3ee',
    500: '#4d7fe6',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fe6;
$custom-light: #8ea3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fe6",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 230
  },
  "hsl": {
    "h": 220.392,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61329,
    "c": 0.16503,
    "h": 263
  },
  "luminance": 0.2247
}

Semantic roles & 50–950 ramp

primary
#4D7FE6
secondary
#E5D2AA
accent
#960ED8
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4D7FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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