#4D5FC5#4D5FC5

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

Color values

HEX#4D5FC5
RGBrgb(77, 95, 197)
HSLhsl(231, 51%, 54%)
HSVhsv(231, 61%, 77%)
CMYKcmyk(60.9%, 51.8%, 0%, 22.7%)
CIE-LABlab(43.93, 24.63, -55.53)
CIE-LCHlch(43.93, 60.75, 293.92°)
OKLaboklab(52.6% 0.0063 -0.1591)
OKLCHoklch(52.6% 0.159 272.3)
XYZxyz(17.2275, 13.7920, 54.5668)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FC5 #C5B34D
analogous
#4D9BC5 #4D5FC5 #774DC5
triadic
#4D5FC5 #C54D5F #5FC54D
tetradic
#4D5FC5 #C54D9B #C5B34D #4DC577
square
#4D5FC5 #C54D9B #C5B34D #4DC577
split-complementary
#4D5FC5 #C5774D #9BC54D
monochromatic
#253172 #3445A0 #4D5FC5 #7B88D4 #A9B2E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D5FC5#FFFFFF#000000##FFFFFF
##4D5FC51.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)
#246DC9
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d5fc5;
/* rgb */ color: rgb(77, 95, 197);
/* oklch */ color: oklch(52.6% 0.159 272.3);
Tailwind
colors: {
  custom: {
    50: '#8a8cd7',
    500: '#4d5fc5',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fc5;
$custom-light: #8a8cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fc5",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 231,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52603,
    "c": 0.15922,
    "h": 272.3
  },
  "luminance": 0.13793
}

Semantic roles & 50–950 ramp

primary
#4D5FC5
secondary
#D1C99D
accent
#C54DDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #4D5FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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