#4D5FD9#4D5FD9

#4D5FD9 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.186 H 272.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4D5FD9
RGBrgb(77, 95, 217)
HSLhsl(232, 65%, 58%)
HSVhsv(232, 65%, 85%)
CMYKcmyk(64.5%, 56.2%, 0%, 14.9%)
CIE-LABlab(45.32, 31.46, -64.77)
CIE-LCHlch(45.32, 72.01, 295.91°)
OKLaboklab(54.08% 0.0073 -0.1863)
OKLCHoklch(54.08% 0.186 272.3)
XYZxyz(19.6730, 14.7702, 67.4464)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FD9 #D9C74D
analogous
#4DA5D9 #4D5FD9 #814DD9
triadic
#4D5FD9 #D94D5F #5FD94D
tetradic
#4D5FD9 #D94DA5 #D9C74D #4DD981
square
#4D5FD9 #D94DA5 #D9C74D #4DD981
split-complementary
#4D5FD9 #D9814D #A5D94D
monochromatic
#1E2C8D #293CC0 #4D5FD9 #7F8CE4 #B2BAEF

Accessibility & contrast

On white

5.31
#4D5FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4D5FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FD9
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FD9#FFFFFF#000000##FFFFFF
##4D5FD91.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d5fd9;
/* rgb */ color: rgb(77, 95, 217);
/* oklch */ color: oklch(54.1% 0.186 272.3);
Tailwind
colors: {
  custom: {
    50: '#8d8ce6',
    500: '#4d5fd9',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fd9;
$custom-light: #8d8ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fd9",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 232.286,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54082,
    "c": 0.18642,
    "h": 272.3
  },
  "luminance": 0.14772
}

Semantic roles & 50–950 ramp

primary
#4D5FD9
secondary
#DDD6A5
accent
#D240E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4D5FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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