#4D5EA2#4D5EA2

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

Color values

HEX#4D5EA2
RGBrgb(77, 94, 162)
HSLhsl(228, 36%, 47%)
HSVhsv(228, 52%, 64%)
CMYKcmyk(52.5%, 42%, 0%, 36.5%)
CIE-LABlab(41.52, 13.49, -38.89)
CIE-LCHlch(41.52, 41.16, 289.13°)
OKLaboklab(50.08% 0.0026 -0.1102)
OKLCHoklch(50.08% 0.11 271.4)
XYZxyz(13.5828, 12.1909, 35.8128)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5EA2 #A2914D
analogous
#4D89A2 #4D5EA2 #674DA2
triadic
#4D5EA2 #A24D5E #5EA24D
tetradic
#4D5EA2 #A24D89 #A2914D #4DA267
square
#4D5EA2 #A24D89 #A2914D #4DA267
split-complementary
#4D5EA2 #A2674D #89A24D
monochromatic
#262E4F #394679 #4D5EA2 #7180BB #9AA5CF

Accessibility & contrast

On white

6.11
#4D5EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4D5EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5EA2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5EA2#FFFFFF#000000##FFFFFF
##4D5EA21.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4266A5
Deuteranopia (green-blind)
#395FA1
Tritanopia (blue-blind)
#276D78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d5ea2;
/* rgb */ color: rgb(77, 94, 162);
/* oklch */ color: oklch(50.1% 0.110 271.4);
Tailwind
colors: {
  custom: {
    50: '#848bbe',
    500: '#4d5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ea2;
$custom-light: #848bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ea2",
  "rgb": {
    "r": 77,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 228,
    "s": 35.565,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50075,
    "c": 0.11026,
    "h": 271.4
  },
  "luminance": 0.12192
}

Semantic roles & 50–950 ramp

primary
#4D5EA2
secondary
#BCB38F
accent
#B55CCC
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4D5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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