#4D57CD#4D57CD

#4D57CD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.180 H 274.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4D57CD
RGBrgb(77, 87, 205)
HSLhsl(235, 56%, 55%)
HSVhsv(235, 62%, 80%)
CMYKcmyk(62.4%, 57.6%, 0%, 19.6%)
CIE-LABlab(42.46, 32.38, -62.53)
CIE-LCHlch(42.46, 70.41, 297.38°)
OKLaboklab(51.68% 0.0142 -0.1798)
OKLCHoklch(51.68% 0.18 274.5)
XYZxyz(17.4846, 12.8005, 59.2951)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57CD #CDC34D
analogous
#4D97CD #4D57CD #834DCD
triadic
#4D57CD #CD4D57 #57CD4D
tetradic
#4D57CD #CD4D97 #CDC34D #4DCD83
square
#4D57CD #CD4D97 #CDC34D #4DCD83
split-complementary
#4D57CD #CD834D #97CD4D
monochromatic
#232A7D #303AAC #4D57CD #7D84DA #ADB1E8

Accessibility & contrast

On white

5.90
#4D57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4D57CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57CD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57CD#FFFFFF#000000##FFFFFF
##4D57CD1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d57cd;
/* rgb */ color: rgb(77, 87, 205);
/* oklch */ color: oklch(51.7% 0.180 274.5);
Tailwind
colors: {
  custom: {
    50: '#8c86dd',
    500: '#4d57cd',
    950: '#000000',
  },
}
SCSS
$custom: #4d57cd;
$custom-light: #8c86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57cd",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 235.313,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51679,
    "c": 0.18034,
    "h": 274.5
  },
  "luminance": 0.12802
}

Semantic roles & 50–950 ramp

primary
#4D57CD
secondary
#D6D1A0
accent
#D448DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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