#4D54E8#4D54E8

#4D54E8 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.4% C 0.219 H 274.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4D54E8
RGBrgb(77, 84, 232)
HSLhsl(237, 77%, 61%)
HSVhsv(237, 67%, 91%)
CMYKcmyk(66.8%, 63.8%, 0%, 9%)
CIE-LABlab(43.86, 43.24, -75.66)
CIE-LCHlch(43.86, 87.14, 299.75°)
OKLaboklab(53.37% 0.0157 -0.2183)
OKLCHoklch(53.37% 0.219 274.1)
XYZxyz(20.7915, 13.7427, 77.8852)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D54E8 #E8E14D
analogous
#4DA2E8 #4D54E8 #934DE8
triadic
#4D54E8 #E84D54 #54E84D
tetradic
#4D54E8 #E84DA2 #E8E14D #4DE893
square
#4D54E8 #E84DA2 #E8E14D #4DE893
split-complementary
#4D54E8 #E8934D #A2E84D
monochromatic
#151CA5 #1C25DB #4D54E8 #8388EF #B9BCF6

Accessibility & contrast

On white

5.60
#4D54E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4D54E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D54E8
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D54E8#FFFFFF#000000##FFFFFF
##4D54E81.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0061E5
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d54e8;
/* rgb */ color: rgb(77, 84, 232);
/* oklch */ color: oklch(53.4% 0.219 274.1);
Tailwind
colors: {
  custom: {
    50: '#9184f0',
    500: '#4d54e8',
    950: '#000000',
  },
}
SCSS
$custom: #4d54e8;
$custom-light: #9184f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d54e8",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 237.29,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53368,
    "c": 0.21891,
    "h": 274.1
  },
  "luminance": 0.13745
}

Semantic roles & 50–950 ramp

primary
#4D54E8
secondary
#E6E3AB
accent
#D00CD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4D54E8

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

Preview Lab → · Contrast checker → · Palette generator →

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