#4D5FDC#4D5FDC

#4D5FDC is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.190 H 272.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4D5FDC
RGBrgb(77, 95, 220)
HSLhsl(232, 67%, 58%)
HSVhsv(232, 65%, 86%)
CMYKcmyk(65%, 56.8%, 0%, 13.7%)
CIE-LABlab(45.53, 32.49, -66.12)
CIE-LCHlch(45.53, 73.67, 296.17°)
OKLaboklab(54.31% 0.0074 -0.1903)
OKLCHoklch(54.31% 0.19 272.2)
XYZxyz(20.0667, 14.9277, 69.5201)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FDC #DCCA4D
analogous
#4DA6DC #4D5FDC #834DDC
triadic
#4D5FDC #DC4D5F #5FDC4D
tetradic
#4D5FDC #DC4DA6 #DCCA4D #4DDC83
square
#4D5FDC #DC4DA6 #DCCA4D #4DDC83
split-complementary
#4D5FDC #DC834D #A6DC4D
monochromatic
#1D2B92 #273BC5 #4D5FDC #808DE6 #B3BBF0

Accessibility & contrast

On white

5.27
#4D5FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4D5FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FDC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FDC#FFFFFF#000000##FFFFFF
##4D5FDC1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d5fdc;
/* rgb */ color: rgb(77, 95, 220);
/* oklch */ color: oklch(54.3% 0.190 272.2);
Tailwind
colors: {
  custom: {
    50: '#8e8ce8',
    500: '#4d5fdc',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fdc;
$custom-light: #8e8ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fdc",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 232.448,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54313,
    "c": 0.19041,
    "h": 272.2
  },
  "luminance": 0.1493
}

Semantic roles & 50–950 ramp

primary
#4D5FDC
secondary
#DFD8A6
accent
#D43EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4D5FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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