#4D5BDF#4D5BDF

#4D5BDF is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.8% C 0.199 H 273.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4D5BDF
RGBrgb(77, 91, 223)
HSLhsl(234, 70%, 59%)
HSVhsv(234, 65%, 87%)
CMYKcmyk(65.5%, 59.2%, 0%, 12.5%)
CIE-LABlab(44.78, 35.98, -69.05)
CIE-LCHlch(44.78, 77.87, 297.52°)
OKLaboklab(53.82% 0.0107 -0.1989)
OKLCHoklch(53.82% 0.199 273.1)
XYZxyz(20.1165, 14.3859, 71.5144)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5BDF #DFD14D
analogous
#4DA4DF #4D5BDF #884DDF
triadic
#4D5BDF #DF4D5B #5BDF4D
tetradic
#4D5BDF #DF4DA4 #DFD14D #4DDF88
square
#4D5BDF #DF4DA4 #DFD14D #4DDF88
split-complementary
#4D5BDF #DF884D #A4DF4D
monochromatic
#1B2797 #2434CA #4D5BDF #818BE8 #B5BBF2

Accessibility & contrast

On white

5.42
#4D5BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4D5BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5BDF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5BDF#FFFFFF#000000##FFFFFF
##4D5BDF1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0064DC
Tritanopia (blue-blind)
#007C94
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d5bdf;
/* rgb */ color: rgb(77, 91, 223);
/* oklch */ color: oklch(53.8% 0.199 273.1);
Tailwind
colors: {
  custom: {
    50: '#8f89ea',
    500: '#4d5bdf',
    950: '#000000',
  },
}
SCSS
$custom: #4d5bdf;
$custom-light: #8f89ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5bdf",
  "rgb": {
    "r": 77,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 234.247,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53822,
    "c": 0.19922,
    "h": 273.1
  },
  "luminance": 0.14388
}

Semantic roles & 50–950 ramp

primary
#4D5BDF
secondary
#E1DBA7
accent
#DB3BEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D5BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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