#4D5EBE#4D5EBE

#4D5EBE is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.151 H 272.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4D5EBE
RGBrgb(77, 94, 190)
HSLhsl(231, 47%, 52%)
HSVhsv(231, 59%, 75%)
CMYKcmyk(59.5%, 50.5%, 0%, 25.5%)
CIE-LABlab(43.21, 22.88, -52.63)
CIE-LCHlch(43.21, 57.39, 293.50°)
OKLaboklab(51.91% 0.0067 -0.1506)
OKLCHoklch(51.91% 0.151 272.5)
XYZxyz(16.3545, 13.2996, 50.4105)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5EBE #BEAD4D
analogous
#4D97BE #4D5EBE #744DBE
triadic
#4D5EBE #BE4D5E #5EBE4D
tetradic
#4D5EBE #BE4D97 #BEAD4D #4DBE74
square
#4D5EBE #BE4D97 #BEAD4D #4DBE74
split-complementary
#4D5EBE #BE744D #97BE4D
monochromatic
#27316A #374597 #4D5EBE #7A87CE #A7AFDF

Accessibility & contrast

On white

5.74
#4D5EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4D5EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5EBE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5EBE#FFFFFF#000000##FFFFFF
##4D5EBE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6BC1
Deuteranopia (green-blind)
#1261BC
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d5ebe;
/* rgb */ color: rgb(77, 94, 190);
/* oklch */ color: oklch(51.9% 0.151 272.5);
Tailwind
colors: {
  custom: {
    50: '#898bd2',
    500: '#4d5ebe',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ebe;
$custom-light: #898bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ebe",
  "rgb": {
    "r": 77,
    "g": 94,
    "b": 190
  },
  "hsl": {
    "h": 230.973,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51911,
    "c": 0.15074,
    "h": 272.5
  },
  "luminance": 0.13301
}

Semantic roles & 50–950 ramp

primary
#4D5EBE
secondary
#CCC59B
accent
#C252D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4D5EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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