#4D70B2#4D70B2

#4D70B2 is a mid, moderate blue. Relative luminance 0.164; OKLCH L 54.9% C 0.111 H 262.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4D70B2
RGBrgb(77, 112, 178)
HSLhsl(219, 40%, 50%)
HSVhsv(219, 57%, 70%)
CMYKcmyk(56.7%, 37.1%, 0%, 30.2%)
CIE-LABlab(47.47, 7.52, -38.86)
CIE-LCHlch(47.47, 39.58, 280.96°)
OKLaboklab(54.95% -0.0151 -0.11)
OKLCHoklch(54.95% 0.111 262.2)
XYZxyz(16.8879, 16.3791, 44.3824)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D70B2 #B28F4D
analogous
#4DA3B2 #4D70B2 #5C4DB2
triadic
#4D70B2 #B24D70 #70B24D
tetradic
#4D70B2 #B24DA3 #B28F4D #4DB25C
square
#4D70B2 #B24DA3 #B28F4D #4DB25C
split-complementary
#4D70B2 #B25C4D #A3B24D
monochromatic
#283A5D #3B5587 #4D70B2 #7892C4 #A2B5D7

Accessibility & contrast

On white

4.91
#4D70B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4D70B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D70B2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D70B2#FFFFFF#000000##FFFFFF
##4D70B21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5576B5
Deuteranopia (green-blind)
#486CB1
Tritanopia (blue-blind)
#047F88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d70b2;
/* rgb */ color: rgb(77, 112, 178);
/* oklch */ color: oklch(54.9% 0.111 262.2);
Tailwind
colors: {
  custom: {
    50: '#8698c9',
    500: '#4d70b2',
    950: '#000000',
  },
}
SCSS
$custom: #4d70b2;
$custom-light: #8698c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d70b2",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 178
  },
  "hsl": {
    "h": 219.208,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.54948,
    "c": 0.11104,
    "h": 262.2
  },
  "luminance": 0.1638
}

Semantic roles & 50–950 ramp

primary
#4D70B2
secondary
#C4B497
accent
#A658CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4D70B2

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

Preview Lab → · Contrast checker → · Palette generator →

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