#4D8AEE#4D8AEE

#4D8AEE is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.1% C 0.163 H 259.8°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4D8AEE
RGBrgb(77, 138, 238)
HSLhsl(217, 83%, 62%)
HSVhsv(217, 68%, 93%)
CMYKcmyk(67.6%, 42%, 0%, 6.7%)
CIE-LABlab(57.97, 12.19, -56.21)
CIE-LCHlch(57.97, 57.52, 282.23°)
OKLaboklab(64.13% -0.0289 -0.1605)
OKLCHoklch(64.13% 0.163 259.8)
XYZxyz(27.5761, 25.9250, 84.4231)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8AEE #EEB14D
analogous
#4DDBEE #4D8AEE #614DEE
triadic
#4D8AEE #EE4D8A #8AEE4D
tetradic
#4D8AEE #EE4DDB #EEB14D #4DEE61
square
#4D8AEE #EE4DDB #EEB14D #4DEE61
split-complementary
#4D8AEE #EE614D #DBEE4D
monochromatic
#114DB0 #1666E8 #4D8AEE #85AFF3 #BDD3F9

Accessibility & contrast

On white

3.39
#4D8AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#4D8AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8AEE
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8AEE#FFFFFF#000000##000000
##4D8AEE1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F2
Deuteranopia (green-blind)
#4084EC
Tritanopia (blue-blind)
#00A1B0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4d8aee;
/* rgb */ color: rgb(77, 138, 238);
/* oklch */ color: oklch(64.1% 0.163 259.8);
Tailwind
colors: {
  custom: {
    50: '#8fabf4',
    500: '#4d8aee',
    950: '#000000',
  },
}
SCSS
$custom: #4d8aee;
$custom-light: #8fabf4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8aee",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 217.267,
    "s": 82.564,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64134,
    "c": 0.1631,
    "h": 259.8
  },
  "luminance": 0.25928
}

Semantic roles & 50–950 ramp

primary
#4D8AEE
secondary
#E9D3AE
accent
#8D07DF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4D8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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