#4D5FE1#4D5FE1

#4D5FE1 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.7% C 0.197 H 272.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4D5FE1
RGBrgb(77, 95, 225)
HSLhsl(233, 71%, 59%)
HSVhsv(233, 66%, 88%)
CMYKcmyk(65.8%, 57.8%, 0%, 11.8%)
CIE-LABlab(45.90, 34.19, -68.37)
CIE-LCHlch(45.90, 76.44, 296.57°)
OKLaboklab(54.7% 0.0075 -0.1969)
OKLCHoklch(54.7% 0.197 272.2)
XYZxyz(20.7388, 15.1966, 73.0599)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FE1 #E1CF4D
analogous
#4DA9E1 #4D5FE1 #854DE1
triadic
#4D5FE1 #E14D5F #5FE14D
tetradic
#4D5FE1 #E14DA9 #E1CF4D #4DE185
square
#4D5FE1 #E14DA9 #E1CF4D #4DE185
split-complementary
#4D5FE1 #E1854D #A9E14D
monochromatic
#1A299A #2338CE #4D5FE1 #818EEA #B6BDF3

Accessibility & contrast

On white

5.20
#4D5FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4D5FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FE1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FE1#FFFFFF#000000##FFFFFF
##4D5FE11.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d5fe1;
/* rgb */ color: rgb(77, 95, 225);
/* oklch */ color: oklch(54.7% 0.197 272.2);
Tailwind
colors: {
  custom: {
    50: '#8f8ceb',
    500: '#4d5fe1',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fe1;
$custom-light: #8f8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fe1",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 232.703,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54701,
    "c": 0.197,
    "h": 272.2
  },
  "luminance": 0.15198
}

Semantic roles & 50–950 ramp

primary
#4D5FE1
secondary
#E2DBA8
accent
#D83AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4D5FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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