#4D7FE3#4D7FE3

#4D7FE3 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.1% C 0.161 H 262.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4D7FE3
RGBrgb(77, 127, 227)
HSLhsl(220, 73%, 60%)
HSVhsv(220, 66%, 89%)
CMYKcmyk(66.1%, 44.1%, 0%, 11%)
CIE-LABlab(54.34, 15.05, -55.87)
CIE-LCHlch(54.34, 57.86, 285.07°)
OKLaboklab(61.14% -0.0207 -0.1597)
OKLCHoklch(61.14% 0.161 262.6)
XYZxyz(24.5102, 22.3002, 75.6708)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FE3 #E3B14D
analogous
#4DCAE3 #4D7FE3 #664DE3
triadic
#4D7FE3 #E34D7F #7FE34D
tetradic
#4D7FE3 #E34DCA #E3B14D #4DE366
square
#4D7FE3 #E34DCA #E3B14D #4DE366
split-complementary
#4D7FE3 #E3664D #CAE34D
monochromatic
#19459D #215CD2 #4D7FE3 #82A5EB #B7CBF4

Accessibility & contrast

On white

3.85
#4D7FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4D7FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FE3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FE3#FFFFFF#000000##000000
##4D7FE31.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F89E7
Deuteranopia (green-blind)
#347CE1
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4d7fe3;
/* rgb */ color: rgb(77, 127, 227);
/* oklch */ color: oklch(61.1% 0.161 262.6);
Tailwind
colors: {
  custom: {
    50: '#8ea3ec',
    500: '#4d7fe3',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fe3;
$custom-light: #8ea3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fe3",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 220,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61138,
    "c": 0.16102,
    "h": 262.6
  },
  "luminance": 0.22303
}

Semantic roles & 50–950 ramp

primary
#4D7FE3
secondary
#E3D0A9
accent
#B238F0
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4D7FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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