#4D56AE#4D56AE

#4D56AE is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.139 H 275.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4D56AE
RGBrgb(77, 86, 174)
HSLhsl(234, 39%, 49%)
HSVhsv(234, 56%, 68%)
CMYKcmyk(55.7%, 50.6%, 0%, 31.8%)
CIE-LABlab(40.06, 22.57, -48.32)
CIE-LCHlch(40.06, 53.33, 295.04°)
OKLaboklab(49.2% 0.0137 -0.138)
OKLCHoklch(49.2% 0.139 275.7)
XYZxyz(14.0259, 11.2884, 41.4760)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56AE #AEA54D
analogous
#4D87AE #4D56AE #754DAE
triadic
#4D56AE #AE4D56 #56AE4D
tetradic
#4D56AE #AE4D87 #AEA54D #4DAE75
square
#4D56AE #AE4D87 #AEA54D #4DAE75
split-complementary
#4D56AE #AE754D #87AE4D
monochromatic
#272C59 #3A4184 #4D56AE #767DC2 #A0A5D5

Accessibility & contrast

On white

6.45
#4D56AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4D56AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56AE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56AE#FFFFFF#000000##FFFFFF
##4D56AE1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B1
Deuteranopia (green-blind)
#1B5BAC
Tritanopia (blue-blind)
#1A6A7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d56ae;
/* rgb */ color: rgb(77, 86, 174);
/* oklch */ color: oklch(49.2% 0.139 275.7);
Tailwind
colors: {
  custom: {
    50: '#8785c7',
    500: '#4d56ae',
    950: '#000000',
  },
}
SCSS
$custom: #4d56ae;
$custom-light: #8785c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56ae",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 234.433,
    "s": 38.645,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49201,
    "c": 0.13868,
    "h": 275.7
  },
  "luminance": 0.11289
}

Semantic roles & 50–950 ramp

primary
#4D56AE
secondary
#C2BE95
accent
#C459CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4D56AE

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

Preview Lab → · Contrast checker → · Palette generator →

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