#4D70CF#4D70CF

#4D70CF is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.7% C 0.152 H 266.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4D70CF
RGBrgb(77, 112, 207)
HSLhsl(224, 58%, 56%)
HSVhsv(224, 63%, 81%)
CMYKcmyk(62.8%, 45.9%, 0%, 18.8%)
CIE-LABlab(49.09, 17.38, -52.98)
CIE-LCHlch(49.09, 55.76, 288.17°)
OKLaboklab(56.73% -0.0094 -0.1514)
OKLCHoklch(56.73% 0.152 266.4)
XYZxyz(20.1134, 17.6693, 61.3700)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D70CF #CFAC4D
analogous
#4DB1CF #4D70CF #6B4DCF
triadic
#4D70CF #CF4D70 #70CF4D
tetradic
#4D70CF #CF4DB1 #CFAC4D #4DCF6B
square
#4D70CF #CF4DB1 #CFAC4D #4DCF6B
split-complementary
#4D70CF #CF6B4D #B1CF4D
monochromatic
#223B7F #2F52AF #4D70CF #7D97DC #ADBDE9

Accessibility & contrast

On white

4.63
#4D70CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4D70CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4D70CF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D70CF#FFFFFF#000000##FFFFFF
##4D70CF1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#427BD3
Deuteranopia (green-blind)
#2B6FCD
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4d70cf;
/* rgb */ color: rgb(77, 112, 207);
/* oklch */ color: oklch(56.7% 0.152 266.4);
Tailwind
colors: {
  custom: {
    50: '#8b98de',
    500: '#4d70cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d70cf;
$custom-light: #8b98de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d70cf",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 223.846,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56727,
    "c": 0.15167,
    "h": 266.4
  },
  "luminance": 0.17671
}

Semantic roles & 50–950 ramp

primary
#4D70CF
secondary
#D7C8A1
accent
#B747E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4D70CF

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

Preview Lab → · Contrast checker → · Palette generator →

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