#4D8DEA#4D8DEA

#4D8DEA is a light, vivid blue. Relative luminance 0.266; OKLCH L 64.5% C 0.155 H 257.8°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4D8DEA
RGBrgb(77, 141, 234)
HSLhsl(216, 79%, 61%)
HSVhsv(216, 67%, 92%)
CMYKcmyk(67.1%, 39.7%, 0%, 8.2%)
CIE-LABlab(58.57, 9.00, -53.03)
CIE-LCHlch(58.57, 53.79, 279.64°)
OKLaboklab(64.53% -0.0325 -0.1511)
OKLCHoklch(64.53% 0.155 257.8)
XYZxyz(27.4314, 26.5653, 81.5079)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8DEA #EAAA4D
analogous
#4DDCEA #4D8DEA #5B4DEA
triadic
#4D8DEA #EA4D8D #8DEA4D
tetradic
#4D8DEA #EA4DDC #EAAA4D #4DEA5B
square
#4D8DEA #EA4DDC #EAAA4D #4DEA5B
split-complementary
#4D8DEA #EA5B4D #DCEA4D
monochromatic
#1451A9 #1A6BDF #4D8DEA #84B0F0 #BAD3F7

Accessibility & contrast

On white

3.33
#4D8DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#4D8DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8DEA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8DEA#FFFFFF#000000##000000
##4D8DEA1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EE
Deuteranopia (green-blind)
#4A86E8
Tritanopia (blue-blind)
#00A2B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4d8dea;
/* rgb */ color: rgb(77, 141, 234);
/* oklch */ color: oklch(64.5% 0.155 257.8);
Tailwind
colors: {
  custom: {
    50: '#8fadf1',
    500: '#4d8dea',
    950: '#000000',
  },
}
SCSS
$custom: #4d8dea;
$custom-light: #8fadf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8dea",
  "rgb": {
    "r": 77,
    "g": 141,
    "b": 234
  },
  "hsl": {
    "h": 215.541,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64531,
    "c": 0.15459,
    "h": 257.8
  },
  "luminance": 0.26568
}

Semantic roles & 50–950 ramp

primary
#4D8DEA
secondary
#E7CFAC
accent
#860ADB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4D8DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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