#4D5EA3#4D5EA3

#4D5EA3 is a mid, moderate blue. Relative luminance 0.122; OKLCH L 50.1% C 0.112 H 271.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4D5EA3
RGBrgb(77, 94, 163)
HSLhsl(228, 36%, 47%)
HSVhsv(228, 53%, 64%)
CMYKcmyk(52.8%, 42.3%, 0%, 36.1%)
CIE-LABlab(41.57, 13.82, -39.39)
CIE-LCHlch(41.57, 41.74, 289.33°)
OKLaboklab(50.14% 0.0028 -0.1117)
OKLCHoklch(50.14% 0.112 271.4)
XYZxyz(13.6720, 12.2266, 36.2828)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5EA3 #A3924D
analogous
#4D89A3 #4D5EA3 #674DA3
triadic
#4D5EA3 #A34D5E #5EA34D
tetradic
#4D5EA3 #A34D89 #A3924D #4DA367
square
#4D5EA3 #A34D89 #A3924D #4DA367
split-complementary
#4D5EA3 #A3674D #89A34D
monochromatic
#262E50 #394679 #4D5EA3 #7180BC #9BA5D0

Accessibility & contrast

On white

6.09
#4D5EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4D5EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5EA3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5EA3#FFFFFF#000000##FFFFFF
##4D5EA31.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4266A6
Deuteranopia (green-blind)
#385FA1
Tritanopia (blue-blind)
#266D78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d5ea3;
/* rgb */ color: rgb(77, 94, 163);
/* oklch */ color: oklch(50.1% 0.112 271.4);
Tailwind
colors: {
  custom: {
    50: '#858bbe',
    500: '#4d5ea3',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ea3;
$custom-light: #858bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ea3",
  "rgb": {
    "r": 77,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 228.14,
    "s": 35.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50136,
    "c": 0.11175,
    "h": 271.4
  },
  "luminance": 0.12228
}

Semantic roles & 50–950 ramp

primary
#4D5EA3
secondary
#BCB390
accent
#B65CCC
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4D5EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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