#4D5FC4#4D5FC4

#4D5FC4 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.158 H 272.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4D5FC4
RGBrgb(77, 95, 196)
HSLhsl(231, 50%, 54%)
HSVhsv(231, 61%, 77%)
CMYKcmyk(60.7%, 51.5%, 0%, 23.1%)
CIE-LABlab(43.87, 24.29, -55.06)
CIE-LCHlch(43.87, 60.18, 293.81°)
OKLaboklab(52.53% 0.0062 -0.1577)
OKLCHoklch(52.53% 0.158 272.3)
XYZxyz(17.1133, 13.7463, 53.9653)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FC4 #C4B24D
analogous
#4D9AC4 #4D5FC4 #764DC4
triadic
#4D5FC4 #C44D5F #5FC44D
tetradic
#4D5FC4 #C44D9A #C4B24D #4DC476
square
#4D5FC4 #C44D9A #C4B24D #4DC476
split-complementary
#4D5FC4 #C4764D #9AC44D
monochromatic
#253171 #35459F #4D5FC4 #7B88D3 #A9B2E2

Accessibility & contrast

On white

5.60
#4D5FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4D5FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FC4
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FC4#FFFFFF#000000##FFFFFF
##4D5FC41.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256DC8
Deuteranopia (green-blind)
#0063C2
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d5fc4;
/* rgb */ color: rgb(77, 95, 196);
/* oklch */ color: oklch(52.5% 0.158 272.3);
Tailwind
colors: {
  custom: {
    50: '#8a8cd6',
    500: '#4d5fc4',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fc4;
$custom-light: #8a8cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fc4",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 230.924,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.15783,
    "h": 272.3
  },
  "luminance": 0.13748
}

Semantic roles & 50–950 ramp

primary
#4D5FC4
secondary
#D0C89D
accent
#C54EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #4D5FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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