#4D54DE#4D54DE

#4D54DE is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.5% C 0.206 H 274.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4D54DE
RGBrgb(77, 84, 222)
HSLhsl(237, 69%, 59%)
HSVhsv(237, 65%, 87%)
CMYKcmyk(65.3%, 62.2%, 0%, 12.9%)
CIE-LABlab(43.05, 39.93, -71.31)
CIE-LCHlch(43.05, 81.73, 299.24°)
OKLaboklab(52.52% 0.0163 -0.2056)
OKLCHoklch(52.52% 0.206 274.5)
XYZxyz(19.4113, 13.1906, 70.6162)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D54DE #DED74D
analogous
#4D9CDE #4D54DE #8E4DDE
triadic
#4D54DE #DE4D54 #54DE4D
tetradic
#4D54DE #DE4D9C #DED74D #4DDE8E
square
#4D54DE #DE4D9C #DED74D #4DDE8E
split-complementary
#4D54DE #DE8E4D #9CDE4D
monochromatic
#1C2195 #252DC9 #4D54DE #8186E8 #B4B7F1

Accessibility & contrast

On white

5.77
#4D54DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4D54DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D54DE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D54DE#FFFFFF#000000##FFFFFF
##4D54DE1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#005FDB
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d54de;
/* rgb */ color: rgb(77, 84, 222);
/* oklch */ color: oklch(52.5% 0.206 274.5);
Tailwind
colors: {
  custom: {
    50: '#8f84e9',
    500: '#4d54de',
    950: '#000000',
  },
}
SCSS
$custom: #4d54de;
$custom-light: #8f84e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d54de",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 237.103,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52521,
    "c": 0.20625,
    "h": 274.5
  },
  "luminance": 0.13192
}

Semantic roles & 50–950 ramp

primary
#4D54DE
secondary
#E0DDA7
accent
#E33CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D54DE

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

Preview Lab → · Contrast checker → · Palette generator →

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