#4D5EDA#4D5EDA

#4D5EDA is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.0% C 0.189 H 272.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4D5EDA
RGBrgb(77, 94, 218)
HSLhsl(233, 66%, 58%)
HSVhsv(233, 65%, 85%)
CMYKcmyk(64.7%, 56.9%, 0%, 14.5%)
CIE-LABlab(45.14, 32.43, -65.62)
CIE-LCHlch(45.14, 73.20, 296.30°)
OKLaboklab(53.97% 0.0082 -0.1888)
OKLCHoklch(53.97% 0.189 272.5)
XYZxyz(19.7139, 14.6434, 68.1036)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5EDA #DAC94D
analogous
#4DA4DA #4D5EDA #824DDA
triadic
#4D5EDA #DA4D5E #5EDA4D
tetradic
#4D5EDA #DA4DA4 #DAC94D #4DDA82
square
#4D5EDA #DA4DA4 #DAC94D #4DDA82
split-complementary
#4D5EDA #DA824D #A4DA4D
monochromatic
#1E2B8F #283BC2 #4D5EDA #808CE5 #B2BAEF

Accessibility & contrast

On white

5.34
#4D5EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4D5EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5EDA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5EDA#FFFFFF#000000##FFFFFF
##4D5EDA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d5eda;
/* rgb */ color: rgb(77, 94, 218);
/* oklch */ color: oklch(54.0% 0.189 272.5);
Tailwind
colors: {
  custom: {
    50: '#8e8be6',
    500: '#4d5eda',
    950: '#000000',
  },
}
SCSS
$custom: #4d5eda;
$custom-light: #8e8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5eda",
  "rgb": {
    "r": 77,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 232.766,
    "s": 65.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53974,
    "c": 0.18899,
    "h": 272.5
  },
  "luminance": 0.14645
}

Semantic roles & 50–950 ramp

primary
#4D5EDA
secondary
#DED7A5
accent
#D43FE9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4D5EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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