#4D57AF#4D57AF

#4D57AF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.5% C 0.139 H 275.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4D57AF
RGBrgb(77, 87, 175)
HSLhsl(234, 39%, 49%)
HSVhsv(234, 56%, 69%)
CMYKcmyk(56%, 50.3%, 0%, 31.4%)
CIE-LABlab(40.39, 22.27, -48.38)
CIE-LCHlch(40.39, 53.26, 294.72°)
OKLaboklab(49.47% 0.0127 -0.1382)
OKLCHoklch(49.47% 0.139 275.2)
XYZxyz(14.2041, 11.4883, 42.0181)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57AF #AFA54D
analogous
#4D88AF #4D57AF #744DAF
triadic
#4D57AF #AF4D57 #57AF4D
tetradic
#4D57AF #AF4D88 #AFA54D #4DAF74
square
#4D57AF #AF4D88 #AFA54D #4DAF74
split-complementary
#4D57AF #AF744D #88AF4D
monochromatic
#282D5A #3A4285 #4D57AF #767EC3 #A1A6D6

Accessibility & contrast

On white

6.37
#4D57AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4D57AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57AF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57AF#FFFFFF#000000##FFFFFF
##4D57AF1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B2
Deuteranopia (green-blind)
#1C5BAD
Tritanopia (blue-blind)
#186B7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d57af;
/* rgb */ color: rgb(77, 87, 175);
/* oklch */ color: oklch(49.5% 0.139 275.2);
Tailwind
colors: {
  custom: {
    50: '#8786c7',
    500: '#4d57af',
    950: '#000000',
  },
}
SCSS
$custom: #4d57af;
$custom-light: #8786c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57af",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 233.878,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4947,
    "c": 0.13875,
    "h": 275.2
  },
  "luminance": 0.11489
}

Semantic roles & 50–950 ramp

primary
#4D57AF
secondary
#C3BE95
accent
#C359CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4D57AF

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

Preview Lab → · Contrast checker → · Palette generator →

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