#4D70D5#4D70D5

#4D70D5 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.1% C 0.160 H 266.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4D70D5
RGBrgb(77, 112, 213)
HSLhsl(225, 62%, 57%)
HSVhsv(225, 64%, 84%)
CMYKcmyk(63.8%, 47.4%, 0%, 16.5%)
CIE-LABlab(49.46, 19.46, -55.81)
CIE-LCHlch(49.46, 59.10, 289.22°)
OKLaboklab(57.12% -0.0086 -0.1597)
OKLCHoklch(57.12% 0.16 266.9)
XYZxyz(20.8609, 17.9683, 65.3068)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D70D5 #D5B24D
analogous
#4DB4D5 #4D70D5 #6E4DD5
triadic
#4D70D5 #D54D70 #70D54D
tetradic
#4D70D5 #D54DB4 #D5B24D #4DD56E
square
#4D70D5 #D54DB4 #D5B24D #4DD56E
split-complementary
#4D70D5 #D56E4D #B4D54D
monochromatic
#203B88 #2C50B9 #4D70D5 #7F98E1 #B0C0EC

Accessibility & contrast

On white

4.57
#4D70D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4D70D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D70D5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D70D5#FFFFFF#000000##000000
##4D70D51.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7CD9
Deuteranopia (green-blind)
#2170D3
Tritanopia (blue-blind)
#008798
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4d70d5;
/* rgb */ color: rgb(77, 112, 213);
/* oklch */ color: oklch(57.1% 0.160 266.9);
Tailwind
colors: {
  custom: {
    50: '#8c98e2',
    500: '#4d70d5',
    950: '#000000',
  },
}
SCSS
$custom: #4d70d5;
$custom-light: #8c98e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d70d5",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 213
  },
  "hsl": {
    "h": 224.559,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57123,
    "c": 0.15994,
    "h": 266.9
  },
  "luminance": 0.1797
}

Semantic roles & 50–950 ramp

primary
#4D70D5
secondary
#DBCCA3
accent
#BB43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4D70D5

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

Preview Lab → · Contrast checker → · Palette generator →

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