#4D5FDE#4D5FDE

#4D5FDE is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.5% C 0.193 H 272.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4D5FDE
RGBrgb(77, 95, 222)
HSLhsl(233, 69%, 59%)
HSVhsv(233, 65%, 87%)
CMYKcmyk(65.3%, 57.2%, 0%, 12.9%)
CIE-LABlab(45.68, 33.17, -67.02)
CIE-LCHlch(45.68, 74.78, 296.33°)
OKLaboklab(54.47% 0.0074 -0.1929)
OKLCHoklch(54.47% 0.193 272.2)
XYZxyz(20.3332, 15.0343, 70.9234)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FDE #DECC4D
analogous
#4DA7DE #4D5FDE #834DDE
triadic
#4D5FDE #DE4D5F #5FDE4D
tetradic
#4D5FDE #DE4DA7 #DECC4D #4DDE83
square
#4D5FDE #DE4DA7 #DECC4D #4DDE83
split-complementary
#4D5FDE #DE834D #A7DE4D
monochromatic
#1C2B95 #2539C9 #4D5FDE #818DE8 #B4BCF1

Accessibility & contrast

On white

5.24
#4D5FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4D5FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FDE
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FDE#FFFFFF#000000##FFFFFF
##4D5FDE1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#007E95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d5fde;
/* rgb */ color: rgb(77, 95, 222);
/* oklch */ color: oklch(54.5% 0.193 272.2);
Tailwind
colors: {
  custom: {
    50: '#8e8ce9',
    500: '#4d5fde',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fde;
$custom-light: #8e8ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fde",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 222
  },
  "hsl": {
    "h": 232.552,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54467,
    "c": 0.19305,
    "h": 272.2
  },
  "luminance": 0.15036
}

Semantic roles & 50–950 ramp

primary
#4D5FDE
secondary
#E0D9A7
accent
#D63CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4D5FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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