#4D70DF#4D70DF

#4D70DF is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.8% C 0.174 H 267.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4D70DF
RGBrgb(77, 112, 223)
HSLhsl(226, 70%, 59%)
HSVhsv(226, 65%, 87%)
CMYKcmyk(65.5%, 49.8%, 0%, 12.5%)
CIE-LABlab(50.09, 22.92, -60.46)
CIE-LCHlch(50.09, 64.66, 290.76°)
OKLaboklab(57.8% -0.0074 -0.1734)
OKLCHoklch(57.8% 0.174 267.6)
XYZxyz(22.1694, 18.4918, 72.1987)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D70DF #DFBC4D
analogous
#4DB9DF #4D70DF #734DDF
triadic
#4D70DF #DF4D70 #70DF4D
tetradic
#4D70DF #DF4DB9 #DFBC4D #4DDF73
square
#4D70DF #DF4DB9 #DFBC4D #4DDF73
split-complementary
#4D70DF #DF734D #B9DF4D
monochromatic
#1B3997 #244CCA #4D70DF #819AE8 #B5C3F2

Accessibility & contrast

On white

4.47
#4D70DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4D70DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D70DF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D70DF#FFFFFF#000000##000000
##4D70DF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#317EE3
Deuteranopia (green-blind)
#0071DD
Tritanopia (blue-blind)
#008A9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4d70df;
/* rgb */ color: rgb(77, 112, 223);
/* oklch */ color: oklch(57.8% 0.174 267.6);
Tailwind
colors: {
  custom: {
    50: '#8d98ea',
    500: '#4d70df',
    950: '#000000',
  },
}
SCSS
$custom: #4d70df;
$custom-light: #8d98ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4d70df",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 225.616,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57804,
    "c": 0.17355,
    "h": 267.6
  },
  "luminance": 0.18494
}

Semantic roles & 50–950 ramp

primary
#4D70DF
secondary
#E1D3A7
accent
#C23BEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4D70DF

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

Preview Lab → · Contrast checker → · Palette generator →

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