#4D70D8#4D70D8

#4D70D8 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.3% C 0.164 H 267.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4D70D8
RGBrgb(77, 112, 216)
HSLhsl(225, 64%, 57%)
HSVhsv(225, 64%, 85%)
CMYKcmyk(64.4%, 48.1%, 0%, 15.3%)
CIE-LABlab(49.64, 20.50, -57.21)
CIE-LCHlch(49.64, 60.77, 289.71°)
OKLaboklab(57.33% -0.0082 -0.1638)
OKLCHoklch(57.33% 0.164 267.1)
XYZxyz(21.2451, 18.1220, 67.3307)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D70D8 #D8B54D
analogous
#4DB6D8 #4D70D8 #704DD8
triadic
#4D70D8 #D84D70 #70D84D
tetradic
#4D70D8 #D84DB6 #D8B54D #4DD870
square
#4D70D8 #D84DB6 #D8B54D #4DD870
split-complementary
#4D70D8 #D8704D #B6D84D
monochromatic
#1F3A8C #2A4FBE #4D70D8 #7F98E3 #B1C1EE

Accessibility & contrast

On white

4.54
#4D70D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4D70D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D70D8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D70D8#FFFFFF#000000##000000
##4D70D81.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#397DDC
Deuteranopia (green-blind)
#1A70D6
Tritanopia (blue-blind)
#00889A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4d70d8;
/* rgb */ color: rgb(77, 112, 216);
/* oklch */ color: oklch(57.3% 0.164 267.1);
Tailwind
colors: {
  custom: {
    50: '#8c98e5',
    500: '#4d70d8',
    950: '#000000',
  },
}
SCSS
$custom: #4d70d8;
$custom-light: #8c98e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d70d8",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 216
  },
  "hsl": {
    "h": 224.892,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57325,
    "c": 0.16404,
    "h": 267.1
  },
  "luminance": 0.18124
}

Semantic roles & 50–950 ramp

primary
#4D70D8
secondary
#DCCEA4
accent
#BD41E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4D70D8

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

Preview Lab → · Contrast checker → · Palette generator →

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