#4D70D2#4D70D2

#4D70D2 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.9% C 0.156 H 266.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4D70D2
RGBrgb(77, 112, 210)
HSLhsl(224, 60%, 56%)
HSVhsv(224, 63%, 82%)
CMYKcmyk(63.3%, 46.7%, 0%, 17.6%)
CIE-LABlab(49.27, 18.42, -54.40)
CIE-LCHlch(49.27, 57.43, 288.71°)
OKLaboklab(56.92% -0.009 -0.1556)
OKLCHoklch(56.92% 0.156 266.7)
XYZxyz(20.4836, 17.8174, 63.3199)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D70D2 #D2AF4D
analogous
#4DB2D2 #4D70D2 #6D4DD2
triadic
#4D70D2 #D24D70 #70D24D
tetradic
#4D70D2 #D24DB2 #D2AF4D #4DD26D
square
#4D70D2 #D24DB2 #D2AF4D #4DD26D
split-complementary
#4D70D2 #D26D4D #B2D24D
monochromatic
#213B83 #2E51B4 #4D70D2 #7E97DE #AFBEEB

Accessibility & contrast

On white

4.60
#4D70D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4D70D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4D70D2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D70D2#FFFFFF#000000##FFFFFF
##4D70D21.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F7CD6
Deuteranopia (green-blind)
#266FD0
Tritanopia (blue-blind)
#008697
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4d70d2;
/* rgb */ color: rgb(77, 112, 210);
/* oklch */ color: oklch(56.9% 0.156 266.7);
Tailwind
colors: {
  custom: {
    50: '#8b98e0',
    500: '#4d70d2',
    950: '#000000',
  },
}
SCSS
$custom: #4d70d2;
$custom-light: #8b98e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d70d2",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 210
  },
  "hsl": {
    "h": 224.211,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56924,
    "c": 0.15582,
    "h": 266.7
  },
  "luminance": 0.17819
}

Semantic roles & 50–950 ramp

primary
#4D70D2
secondary
#D9CAA2
accent
#B945E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4D70D2

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

Preview Lab → · Contrast checker → · Palette generator →

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