#4D5FCF#4D5FCF

#4D5FCF is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.3% C 0.173 H 272.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4D5FCF
RGBrgb(77, 95, 207)
HSLhsl(232, 58%, 56%)
HSVhsv(232, 63%, 81%)
CMYKcmyk(62.8%, 54.1%, 0%, 18.8%)
CIE-LABlab(44.61, 28.05, -60.19)
CIE-LCHlch(44.61, 66.41, 294.98°)
OKLaboklab(53.33% 0.007 -0.1728)
OKLCHoklch(53.33% 0.173 272.3)
XYZxyz(18.4115, 14.2656, 60.8027)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FCF #CFBD4D
analogous
#4DA0CF #4D5FCF #7C4DCF
triadic
#4D5FCF #CF4D5F #5FCF4D
tetradic
#4D5FCF #CF4DA0 #CFBD4D #4DCF7C
square
#4D5FCF #CF4DA0 #CFBD4D #4DCF7C
split-complementary
#4D5FCF #CF7C4D #A0CF4D
monochromatic
#222F7F #2F41AF #4D5FCF #7D8ADC #ADB6E9

Accessibility & contrast

On white

5.45
#4D5FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4D5FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FCF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FCF#FFFFFF#000000##FFFFFF
##4D5FCF1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6FD3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d5fcf;
/* rgb */ color: rgb(77, 95, 207);
/* oklch */ color: oklch(53.3% 0.173 272.3);
Tailwind
colors: {
  custom: {
    50: '#8c8cde',
    500: '#4d5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fcf;
$custom-light: #8c8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fcf",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 231.692,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5333,
    "c": 0.17297,
    "h": 272.3
  },
  "luminance": 0.14267
}

Semantic roles & 50–950 ramp

primary
#4D5FCF
secondary
#D7CFA1
accent
#CB47E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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