#4D5AE9#4D5AE9

#4D5AE9 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.5% C 0.213 H 273.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4D5AE9
RGBrgb(77, 90, 233)
HSLhsl(235, 78%, 61%)
HSVhsv(235, 67%, 91%)
CMYKcmyk(67%, 61.4%, 0%, 8.6%)
CIE-LABlab(45.32, 39.96, -73.84)
CIE-LCHlch(45.32, 83.96, 298.42°)
OKLaboklab(54.46% 0.0113 -0.213)
OKLCHoklch(54.46% 0.213 273)
XYZxyz(21.4198, 14.7713, 78.7973)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5AE9 #E9DC4D
analogous
#4DA8E9 #4D5AE9 #8E4DE9
triadic
#4D5AE9 #E94D5A #5AE94D
tetradic
#4D5AE9 #E94DA8 #E9DC4D #4DE98E
square
#4D5AE9 #E94DA8 #E9DC4D #4DE98E
split-complementary
#4D5AE9 #E98E4D #A8E94D
monochromatic
#1521A7 #1B2CDD #4D5AE9 #838CF0 #BABFF6

Accessibility & contrast

On white

5.31
#4D5AE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4D5AE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5AE9
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5AE9#FFFFFF#000000##FFFFFF
##4D5AE91.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#0064E6
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d5ae9;
/* rgb */ color: rgb(77, 90, 233);
/* oklch */ color: oklch(54.5% 0.213 273.0);
Tailwind
colors: {
  custom: {
    50: '#9188f1',
    500: '#4d5ae9',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ae9;
$custom-light: #9188f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ae9",
  "rgb": {
    "r": 77,
    "g": 90,
    "b": 233
  },
  "hsl": {
    "h": 235,
    "s": 78,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54462,
    "c": 0.21328,
    "h": 273
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

primary
#4D5AE9
secondary
#E6E2AB
accent
#C90BDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4D5AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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