#4D5FBF#4D5FBF

#4D5FBF is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.151 H 272.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4D5FBF
RGBrgb(77, 95, 191)
HSLhsl(231, 47%, 53%)
HSVhsv(231, 60%, 75%)
CMYKcmyk(59.7%, 50.3%, 0%, 25.1%)
CIE-LABlab(43.54, 22.59, -52.68)
CIE-LCHlch(43.54, 57.32, 293.21°)
OKLaboklab(52.18% 0.0057 -0.1507)
OKLCHoklch(52.18% 0.151 272.2)
XYZxyz(16.5536, 13.5225, 51.0179)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FBF #BFAD4D
analogous
#4D98BF #4D5FBF #744DBF
triadic
#4D5FBF #BF4D5F #5FBF4D
tetradic
#4D5FBF #BF4D98 #BFAD4D #4DBF74
square
#4D5FBF #BF4D98 #BFAD4D #4DBF74
split-complementary
#4D5FBF #BF744D #98BF4D
monochromatic
#27316B #374698 #4D5FBF #7A87CF #A7B0DF

Accessibility & contrast

On white

5.67
#4D5FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4D5FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FBF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FBF#FFFFFF#000000##FFFFFF
##4D5FBF1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC2
Deuteranopia (green-blind)
#1462BD
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d5fbf;
/* rgb */ color: rgb(77, 95, 191);
/* oklch */ color: oklch(52.2% 0.151 272.2);
Tailwind
colors: {
  custom: {
    50: '#898cd3',
    500: '#4d5fbf',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fbf;
$custom-light: #898cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fbf",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 230.526,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52181,
    "c": 0.15084,
    "h": 272.2
  },
  "luminance": 0.13524
}

Semantic roles & 50–950 ramp

primary
#4D5FBF
secondary
#CDC59B
accent
#C251D7
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4D5FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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