#4D5EC9#4D5EC9

#4D5EC9 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.166 H 272.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4D5EC9
RGBrgb(77, 94, 201)
HSLhsl(232, 53%, 55%)
HSVhsv(232, 62%, 79%)
CMYKcmyk(61.7%, 53.2%, 0%, 21.2%)
CIE-LABlab(43.94, 26.63, -57.82)
CIE-LCHlch(43.94, 63.66, 294.73°)
OKLaboklab(52.7% 0.0076 -0.1659)
OKLCHoklch(52.7% 0.166 272.6)
XYZxyz(17.6024, 13.7988, 56.9828)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5EC9 #C9B84D
analogous
#4D9CC9 #4D5EC9 #7A4DC9
triadic
#4D5EC9 #C94D5E #5EC94D
tetradic
#4D5EC9 #C94D9C #C9B84D #4DC97A
square
#4D5EC9 #C94D9C #C9B84D #4DC97A
split-complementary
#4D5EC9 #C97A4D #9CC94D
monochromatic
#243077 #3242A6 #4D5EC9 #7C88D7 #ABB3E5

Accessibility & contrast

On white

5.59
#4D5EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4D5EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5EC9
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5EC9#FFFFFF#000000##FFFFFF
##4D5EC91.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196ECD
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d5ec9;
/* rgb */ color: rgb(77, 94, 201);
/* oklch */ color: oklch(52.7% 0.166 272.6);
Tailwind
colors: {
  custom: {
    50: '#8b8bda',
    500: '#4d5ec9',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ec9;
$custom-light: #8b8bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ec9",
  "rgb": {
    "r": 77,
    "g": 94,
    "b": 201
  },
  "hsl": {
    "h": 231.774,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52697,
    "c": 0.16603,
    "h": 272.6
  },
  "luminance": 0.138
}

Semantic roles & 50–950 ramp

primary
#4D5EC9
secondary
#D3CC9F
accent
#C94BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D5EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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