#4D54DF#4D54DF

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

Color values

HEX#4D54DF
RGBrgb(77, 84, 223)
HSLhsl(237, 70%, 59%)
HSVhsv(237, 65%, 87%)
CMYKcmyk(65.5%, 62.3%, 0%, 12.5%)
CIE-LABlab(43.13, 40.26, -71.75)
CIE-LCHlch(43.13, 82.27, 299.30°)
OKLaboklab(52.61% 0.0163 -0.2069)
OKLCHoklch(52.61% 0.208 274.5)
XYZxyz(19.5458, 13.2444, 71.3241)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D54DF #DFD84D
analogous
#4D9DDF #4D54DF #8F4DDF
triadic
#4D54DF #DF4D54 #54DF4D
tetradic
#4D54DF #DF4D9D #DFD84D #4DDF8F
square
#4D54DF #DF4D9D #DFD84D #4DDF8F
split-complementary
#4D54DF #DF8F4D #9DDF4D
monochromatic
#1B2197 #242CCA #4D54DF #8186E8 #B5B8F2

Accessibility & contrast

On white

5.75
#4D54DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4D54DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D54DF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D54DF#FFFFFF#000000##FFFFFF
##4D54DF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#005FDC
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d54df;
/* rgb */ color: rgb(77, 84, 223);
/* oklch */ color: oklch(52.6% 0.208 274.5);
Tailwind
colors: {
  custom: {
    50: '#8f84ea',
    500: '#4d54df',
    950: '#000000',
  },
}
SCSS
$custom: #4d54df;
$custom-light: #8f84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4d54df",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 237.123,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52605,
    "c": 0.20753,
    "h": 274.5
  },
  "luminance": 0.13246
}

Semantic roles & 50–950 ramp

primary
#4D54DF
secondary
#E1DEA7
accent
#E43BEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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