#4D70D9#4D70D9

#4D70D9 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.4% C 0.165 H 267.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4D70D9
RGBrgb(77, 112, 217)
HSLhsl(225, 65%, 58%)
HSVhsv(225, 65%, 85%)
CMYKcmyk(64.5%, 48.4%, 0%, 14.9%)
CIE-LABlab(49.71, 20.84, -57.68)
CIE-LCHlch(49.71, 61.33, 289.87°)
OKLaboklab(57.39% -0.0081 -0.1652)
OKLCHoklch(57.39% 0.165 267.2)
XYZxyz(21.3748, 18.1739, 68.0137)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D70D9 #D9B64D
analogous
#4DB6D9 #4D70D9 #704DD9
triadic
#4D70D9 #D94D70 #70D94D
tetradic
#4D70D9 #D94DB6 #D9B64D #4DD970
square
#4D70D9 #D94DB6 #D9B64D #4DD970
split-complementary
#4D70D9 #D9704D #B6D94D
monochromatic
#1E3A8D #294FC0 #4D70D9 #7F99E4 #B2C1EF

Accessibility & contrast

On white

4.53
#4D70D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4D70D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D70D9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D70D9#FFFFFF#000000##000000
##4D70D91.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#387DDD
Deuteranopia (green-blind)
#1770D7
Tritanopia (blue-blind)
#00889A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4d70d9;
/* rgb */ color: rgb(77, 112, 217);
/* oklch */ color: oklch(57.4% 0.165 267.2);
Tailwind
colors: {
  custom: {
    50: '#8c98e5',
    500: '#4d70d9',
    950: '#000000',
  },
}
SCSS
$custom: #4d70d9;
$custom-light: #8c98e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d70d9",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 217
  },
  "hsl": {
    "h": 225,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57393,
    "c": 0.16541,
    "h": 267.2
  },
  "luminance": 0.18176
}

Semantic roles & 50–950 ramp

primary
#4D70D9
secondary
#DDCFA5
accent
#BE40E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4D70D9

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

Preview Lab → · Contrast checker → · Palette generator →

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