#4D5FE0#4D5FE0

#4D5FE0 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.6% C 0.196 H 272.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4D5FE0
RGBrgb(77, 95, 224)
HSLhsl(233, 70%, 59%)
HSVhsv(233, 66%, 88%)
CMYKcmyk(65.6%, 57.6%, 0%, 12.2%)
CIE-LABlab(45.83, 33.85, -67.92)
CIE-LCHlch(45.83, 75.89, 296.49°)
OKLaboklab(54.62% 0.0075 -0.1955)
OKLCHoklch(54.62% 0.196 272.2)
XYZxyz(20.6028, 15.1421, 72.3435)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FE0 #E0CE4D
analogous
#4DA9E0 #4D5FE0 #854DE0
triadic
#4D5FE0 #E04D5F #5FE04D
tetradic
#4D5FE0 #E04DA9 #E0CE4D #4DE085
square
#4D5FE0 #E04DA9 #E0CE4D #4DE085
split-complementary
#4D5FE0 #E0854D #A9E04D
monochromatic
#1A2A98 #2438CC #4D5FE0 #818EE9 #B5BDF2

Accessibility & contrast

On white

5.21
#4D5FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4D5FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FE0
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FE0#FFFFFF#000000##FFFFFF
##4D5FE01.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E4
Deuteranopia (green-blind)
#0066DD
Tritanopia (blue-blind)
#007F96
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d5fe0;
/* rgb */ color: rgb(77, 95, 224);
/* oklch */ color: oklch(54.6% 0.196 272.2);
Tailwind
colors: {
  custom: {
    50: '#8f8ceb',
    500: '#4d5fe0',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fe0;
$custom-light: #8f8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fe0",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 224
  },
  "hsl": {
    "h": 232.653,
    "s": 70.335,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54623,
    "c": 0.19569,
    "h": 272.2
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#4D5FE0
secondary
#E1DAA8
accent
#D73BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4D5FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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