#4D5EB2#4D5EB2

#4D5EB2 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.1% C 0.134 H 272.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4D5EB2
RGBrgb(77, 94, 178)
HSLhsl(230, 40%, 50%)
HSVhsv(230, 57%, 70%)
CMYKcmyk(56.7%, 47.2%, 0%, 30.2%)
CIE-LABlab(42.45, 18.82, -46.84)
CIE-LCHlch(42.45, 50.48, 291.89°)
OKLaboklab(51.1% 0.0053 -0.1335)
OKLCHoklch(51.1% 0.134 272.3)
XYZxyz(15.0965, 12.7964, 43.7853)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5EB2 #B2A14D
analogous
#4D91B2 #4D5EB2 #6E4DB2
triadic
#4D5EB2 #B24D5E #5EB24D
tetradic
#4D5EB2 #B24D91 #B2A14D #4DB26E
square
#4D5EB2 #B24D91 #B2A14D #4DB26E
split-complementary
#4D5EB2 #B26E4D #91B24D
monochromatic
#28315D #3B4787 #4D5EB2 #7885C4 #A2ABD7

Accessibility & contrast

On white

5.90
#4D5EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4D5EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5EB2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5EB2#FFFFFF#000000##FFFFFF
##4D5EB21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#2960B0
Tritanopia (blue-blind)
#10717F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d5eb2;
/* rgb */ color: rgb(77, 94, 178);
/* oklch */ color: oklch(51.1% 0.134 272.3);
Tailwind
colors: {
  custom: {
    50: '#878bc9',
    500: '#4d5eb2',
    950: '#000000',
  },
}
SCSS
$custom: #4d5eb2;
$custom-light: #878bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5eb2",
  "rgb": {
    "r": 77,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 229.901,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.51095,
    "c": 0.13365,
    "h": 272.3
  },
  "luminance": 0.12798
}

Semantic roles & 50–950 ramp

primary
#4D5EB2
secondary
#C4BC97
accent
#BB58CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4D5EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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