#4D57BB#4D57BB

#4D57BB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.156 H 275.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4D57BB
RGBrgb(77, 87, 187)
HSLhsl(235, 45%, 52%)
HSVhsv(235, 59%, 73%)
CMYKcmyk(58.8%, 53.5%, 0%, 26.7%)
CIE-LABlab(41.19, 26.30, -54.15)
CIE-LCHlch(41.19, 60.20, 295.91°)
OKLaboklab(50.32% 0.0136 -0.1551)
OKLCHoklch(50.32% 0.156 275)
XYZxyz(15.4355, 11.9809, 48.5032)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57BB #BBB14D
analogous
#4D8EBB #4D57BB #7A4DBB
triadic
#4D57BB #BB4D57 #57BB4D
tetradic
#4D57BB #BB4D8E #BBB14D #4DBB7A
square
#4D57BB #BB4D8E #BBB14D #4DBB7A
split-complementary
#4D57BB #BB7A4D #8EBB4D
monochromatic
#272D66 #384093 #4D57BB #7981CC #A6ABDD

Accessibility & contrast

On white

6.18
#4D57BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4D57BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57BB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57BB#FFFFFF#000000##FFFFFF
##4D57BB1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966BE
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d57bb;
/* rgb */ color: rgb(77, 87, 187);
/* oklch */ color: oklch(50.3% 0.156 275.0);
Tailwind
colors: {
  custom: {
    50: '#8986d0',
    500: '#4d57bb',
    950: '#000000',
  },
}
SCSS
$custom: #4d57bb;
$custom-light: #8986d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57bb",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 234.545,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50322,
    "c": 0.15573,
    "h": 275
  },
  "luminance": 0.11982
}

Semantic roles & 50–950 ramp

primary
#4D57BB
secondary
#CAC69A
accent
#C953D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4D57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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