#4D57CA#4D57CA

#4D57CA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.4% C 0.176 H 274.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4D57CA
RGBrgb(77, 87, 202)
HSLhsl(235, 54%, 55%)
HSVhsv(235, 62%, 79%)
CMYKcmyk(61.9%, 56.9%, 0%, 20.8%)
CIE-LABlab(42.24, 31.36, -61.15)
CIE-LCHlch(42.24, 68.73, 297.15°)
OKLaboklab(51.45% 0.0142 -0.1757)
OKLCHoklch(51.45% 0.176 274.6)
XYZxyz(17.1259, 12.6570, 57.4062)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57CA #CAC04D
analogous
#4D96CA #4D57CA #824DCA
triadic
#4D57CA #CA4D57 #57CA4D
tetradic
#4D57CA #CA4D96 #CAC04D #4DCA82
square
#4D57CA #CA4D96 #CAC04D #4DCA82
split-complementary
#4D57CA #CA824D #96CA4D
monochromatic
#242B79 #323BA8 #4D57CA #7C84D8 #ABB0E6

Accessibility & contrast

On white

5.95
#4D57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4D57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57CA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57CA#FFFFFF#000000##FFFFFF
##4D57CA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d57ca;
/* rgb */ color: rgb(77, 87, 202);
/* oklch */ color: oklch(51.4% 0.176 274.6);
Tailwind
colors: {
  custom: {
    50: '#8b86db',
    500: '#4d57ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d57ca;
$custom-light: #8b86db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57ca",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 235.2,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51446,
    "c": 0.17631,
    "h": 274.6
  },
  "luminance": 0.12658
}

Semantic roles & 50–950 ramp

primary
#4D57CA
secondary
#D4D09F
accent
#D24ADD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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