#4D57BE#4D57BE

#4D57BE is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.160 H 275.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4D57BE
RGBrgb(77, 87, 190)
HSLhsl(235, 47%, 52%)
HSVhsv(235, 59%, 75%)
CMYKcmyk(59.5%, 54.2%, 0%, 25.5%)
CIE-LABlab(41.39, 27.31, -55.57)
CIE-LCHlch(41.39, 61.92, 296.18°)
OKLaboklab(50.54% 0.0138 -0.1593)
OKLCHoklch(50.54% 0.16 275)
XYZxyz(15.7600, 12.1107, 50.2123)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57BE #BEB44D
analogous
#4D90BE #4D57BE #7B4DBE
triadic
#4D57BE #BE4D57 #57BE4D
tetradic
#4D57BE #BE4D90 #BEB44D #4DBE7B
square
#4D57BE #BE4D90 #BEB44D #4DBE7B
split-complementary
#4D57BE #BE7B4D #90BE4D
monochromatic
#272D6A #374097 #4D57BE #7A81CE #A7ACDF

Accessibility & contrast

On white

6.14
#4D57BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4D57BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57BE
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57BE#FFFFFF#000000##FFFFFF
##4D57BE1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1267C2
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d57be;
/* rgb */ color: rgb(77, 87, 190);
/* oklch */ color: oklch(50.5% 0.160 275.0);
Tailwind
colors: {
  custom: {
    50: '#8986d2',
    500: '#4d57be',
    950: '#000000',
  },
}
SCSS
$custom: #4d57be;
$custom-light: #8986d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57be",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 234.69,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50542,
    "c": 0.1599,
    "h": 275
  },
  "luminance": 0.12112
}

Semantic roles & 50–950 ramp

primary
#4D57BE
secondary
#CCC89B
accent
#CA52D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4D57BE

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

Preview Lab → · Contrast checker → · Palette generator →

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