#4D70AB#4D70AB

#4D70AB is a mid, moderate blue. Relative luminance 0.161; OKLCH L 54.6% C 0.101 H 260.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4D70AB
RGBrgb(77, 112, 171)
HSLhsl(218, 38%, 49%)
HSVhsv(218, 55%, 67%)
CMYKcmyk(55%, 34.5%, 0%, 32.9%)
CIE-LABlab(47.11, 5.20, -35.34)
CIE-LCHlch(47.11, 35.73, 278.38°)
OKLaboklab(54.56% -0.0169 -0.0997)
OKLCHoklch(54.56% 0.101 260.4)
XYZxyz(16.2029, 16.1051, 40.7749)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D70AB #AB884D
analogous
#4D9FAB #4D70AB #594DAB
triadic
#4D70AB #AB4D70 #70AB4D
tetradic
#4D70AB #AB4D9F #AB884D #4DAB59
square
#4D70AB #AB4D9F #AB884D #4DAB59
split-complementary
#4D70AB #AB594D #9FAB4D
monochromatic
#273957 #3A5481 #4D70AB #7591C1 #9FB2D4

Accessibility & contrast

On white

4.97
#4D70AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4D70AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D70AB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D70AB#FFFFFF#000000##FFFFFF
##4D70AB1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5875AD
Deuteranopia (green-blind)
#4D6CAA
Tritanopia (blue-blind)
#167D85
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d70ab;
/* rgb */ color: rgb(77, 112, 171);
/* oklch */ color: oklch(54.6% 0.101 260.4);
Tailwind
colors: {
  custom: {
    50: '#8598c4',
    500: '#4d70ab',
    950: '#000000',
  },
}
SCSS
$custom: #4d70ab;
$custom-light: #8598c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d70ab",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 171
  },
  "hsl": {
    "h": 217.66,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54555,
    "c": 0.10117,
    "h": 260.4
  },
  "luminance": 0.16106
}

Semantic roles & 50–950 ramp

primary
#4D70AB
secondary
#C0B093
accent
#A35ACE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #4D70AB

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

Preview Lab → · Contrast checker → · Palette generator →

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