#4D54D3#4D54D3

#4D54D3 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.6% C 0.192 H 275.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4D54D3
RGBrgb(77, 84, 211)
HSLhsl(237, 60%, 56%)
HSVhsv(237, 64%, 83%)
CMYKcmyk(63.5%, 60.2%, 0%, 17.3%)
CIE-LABlab(42.19, 36.25, -66.43)
CIE-LCHlch(42.19, 75.68, 298.62°)
OKLaboklab(51.62% 0.0168 -0.1913)
OKLCHoklch(51.62% 0.192 275)
XYZxyz(17.9849, 12.6201, 63.1035)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D54D3 #D3CC4D
analogous
#4D97D3 #4D54D3 #894DD3
triadic
#4D54D3 #D34D54 #54D34D
tetradic
#4D54D3 #D34D97 #D3CC4D #4DD389
square
#4D54D3 #D34D97 #D3CC4D #4DD389
split-complementary
#4D54D3 #D3894D #97D34D
monochromatic
#212685 #2D34B6 #4D54D3 #7E83DF #AFB2EB

Accessibility & contrast

On white

5.96
#4D54D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4D54D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D54D3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D54D3#FFFFFF#000000##FFFFFF
##4D54D31.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#005ED0
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d54d3;
/* rgb */ color: rgb(77, 84, 211);
/* oklch */ color: oklch(51.6% 0.192 275.0);
Tailwind
colors: {
  custom: {
    50: '#8d84e1',
    500: '#4d54d3',
    950: '#000000',
  },
}
SCSS
$custom: #4d54d3;
$custom-light: #8d84e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d54d3",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 236.866,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51616,
    "c": 0.192,
    "h": 275
  },
  "luminance": 0.12622
}

Semantic roles & 50–950 ramp

primary
#4D54D3
secondary
#D9D7A2
accent
#DB44E4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D54D3

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

Preview Lab → · Contrast checker → · Palette generator →

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