#4D7AC5#4D7AC5

#4D7AC5 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.2% C 0.126 H 260.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4D7AC5
RGBrgb(77, 122, 197)
HSLhsl(218, 51%, 54%)
HSVhsv(218, 61%, 77%)
CMYKcmyk(60.9%, 38.1%, 0%, 22.7%)
CIE-LABlab(51.30, 7.79, -43.75)
CIE-LCHlch(51.30, 44.44, 280.09°)
OKLaboklab(58.24% -0.0217 -0.1242)
OKLCHoklch(58.24% 0.126 260.1)
XYZxyz(20.0946, 19.5263, 55.5225)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7AC5 #C5984D
analogous
#4DB6C5 #4D7AC5 #5C4DC5
triadic
#4D7AC5 #C54D7A #7AC54D
tetradic
#4D7AC5 #C54DB6 #C5984D #4DC55C
square
#4D7AC5 #C54DB6 #C5984D #4DC55C
split-complementary
#4D7AC5 #C55C4D #B6C54D
monochromatic
#254272 #345DA0 #4D7AC5 #7B9CD4 #A9BFE3

Accessibility & contrast

On white

4.28
#4D7AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4D7AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7AC5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7AC5#FFFFFF#000000##000000
##4D7AC51.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A80C8
Deuteranopia (green-blind)
#4975C3
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d7ac5;
/* rgb */ color: rgb(77, 122, 197);
/* oklch */ color: oklch(58.2% 0.126 260.1);
Tailwind
colors: {
  custom: {
    50: '#89a0d7',
    500: '#4d7ac5',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ac5;
$custom-light: #89a0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ac5",
  "rgb": {
    "r": 77,
    "g": 122,
    "b": 197
  },
  "hsl": {
    "h": 217.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58244,
    "c": 0.12608,
    "h": 260.1
  },
  "luminance": 0.19528
}

Semantic roles & 50–950 ramp

primary
#4D7AC5
secondary
#D1BD9D
accent
#A64DDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4D7AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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