#4D57BF#4D57BF

#4D57BF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.161 H 274.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4D57BF
RGBrgb(77, 87, 191)
HSLhsl(235, 47%, 53%)
HSVhsv(235, 60%, 75%)
CMYKcmyk(59.7%, 54.5%, 0%, 25.1%)
CIE-LABlab(41.46, 27.65, -56.04)
CIE-LCHlch(41.46, 62.49, 296.26°)
OKLaboklab(50.62% 0.0139 -0.1607)
OKLCHoklch(50.62% 0.161 274.9)
XYZxyz(15.8697, 12.1545, 50.7899)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57BF #BFB54D
analogous
#4D90BF #4D57BF #7C4DBF
triadic
#4D57BF #BF4D57 #57BF4D
tetradic
#4D57BF #BF4D90 #BFB54D #4DBF7C
square
#4D57BF #BF4D90 #BFB54D #4DBF7C
split-complementary
#4D57BF #BF7C4D #90BF4D
monochromatic
#272D6B #373F98 #4D57BF #7A81CF #A7ACDF

Accessibility & contrast

On white

6.12
#4D57BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4D57BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57BF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57BF#FFFFFF#000000##FFFFFF
##4D57BF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F67C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d57bf;
/* rgb */ color: rgb(77, 87, 191);
/* oklch */ color: oklch(50.6% 0.161 274.9);
Tailwind
colors: {
  custom: {
    50: '#8986d3',
    500: '#4d57bf',
    950: '#000000',
  },
}
SCSS
$custom: #4d57bf;
$custom-light: #8986d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57bf",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 234.737,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50616,
    "c": 0.16129,
    "h": 274.9
  },
  "luminance": 0.12156
}

Semantic roles & 50–950 ramp

primary
#4D57BF
secondary
#CDC89B
accent
#CB51D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4D57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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