#4D6AC7#4D6AC7

#4D6AC7 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.0% C 0.148 H 268.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4D6AC7
RGBrgb(77, 106, 199)
HSLhsl(226, 52%, 54%)
HSVhsv(226, 61%, 78%)
CMYKcmyk(61.3%, 46.7%, 0%, 22%)
CIE-LABlab(46.98, 18.38, -51.78)
CIE-LCHlch(46.98, 54.94, 289.55°)
OKLaboklab(54.96% -0.0046 -0.1479)
OKLCHoklch(54.96% 0.148 268.2)
XYZxyz(18.5199, 16.0078, 56.1356)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6AC7 #C7AA4D
analogous
#4DA7C7 #4D6AC7 #6D4DC7
triadic
#4D6AC7 #C74D6A #6AC74D
tetradic
#4D6AC7 #C74DA7 #C7AA4D #4DC76D
square
#4D6AC7 #C74DA7 #C7AA4D #4DC76D
split-complementary
#4D6AC7 #C76D4D #A7C74D
monochromatic
#253875 #334EA3 #4D6AC7 #7C91D6 #AAB8E4

Accessibility & contrast

On white

5.00
#4D6AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4D6AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6AC7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6AC7#FFFFFF#000000##FFFFFF
##4D6AC71.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D75CA
Deuteranopia (green-blind)
#286AC5
Tritanopia (blue-blind)
#007F8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4d6ac7;
/* rgb */ color: rgb(77, 106, 199);
/* oklch */ color: oklch(55.0% 0.148 268.2);
Tailwind
colors: {
  custom: {
    50: '#8a94d8',
    500: '#4d6ac7',
    950: '#000000',
  },
}
SCSS
$custom: #4d6ac7;
$custom-light: #8a94d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6ac7",
  "rgb": {
    "r": 77,
    "g": 106,
    "b": 199
  },
  "hsl": {
    "h": 225.738,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5496,
    "c": 0.148,
    "h": 268.2
  },
  "luminance": 0.16009
}

Semantic roles & 50–950 ramp

primary
#4D6AC7
secondary
#D2C69E
accent
#BA4CDC
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #4D6AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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