#4D57DB#4D57DB

#4D57DB is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.8% C 0.199 H 274.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4D57DB
RGBrgb(77, 87, 219)
HSLhsl(236, 66%, 58%)
HSVhsv(236, 65%, 86%)
CMYKcmyk(64.8%, 60.3%, 0%, 14.1%)
CIE-LABlab(43.52, 37.09, -68.84)
CIE-LCHlch(43.52, 78.19, 298.32°)
OKLaboklab(52.79% 0.0141 -0.1983)
OKLCHoklch(52.79% 0.199 274.1)
XYZxyz(19.2507, 13.5070, 68.5967)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57DB #DBD14D
analogous
#4D9EDB #4D57DB #8A4DDB
triadic
#4D57DB #DB4D57 #57DB4D
tetradic
#4D57DB #DB4D9E #DBD14D #4DDB8A
square
#4D57DB #DB4D9E #DBD14D #4DDB8A
split-complementary
#4D57DB #DB8A4D #9EDB4D
monochromatic
#1D2590 #2732C3 #4D57DB #8087E5 #B3B7F0

Accessibility & contrast

On white

5.67
#4D57DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4D57DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57DB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57DB#FFFFFF#000000##FFFFFF
##4D57DB1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d57db;
/* rgb */ color: rgb(77, 87, 219);
/* oklch */ color: oklch(52.8% 0.199 274.1);
Tailwind
colors: {
  custom: {
    50: '#8e86e7',
    500: '#4d57db',
    950: '#000000',
  },
}
SCSS
$custom: #4d57db;
$custom-light: #8e86e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57db",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 235.775,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52792,
    "c": 0.19882,
    "h": 274.1
  },
  "luminance": 0.13509
}

Semantic roles & 50–950 ramp

primary
#4D57DB
secondary
#DEDAA6
accent
#DD3FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D57DB

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

Preview Lab → · Contrast checker → · Palette generator →

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