#4D7AC2#4D7AC2

#4D7AC2 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.1% C 0.122 H 259.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4D7AC2
RGBrgb(77, 122, 194)
HSLhsl(217, 49%, 53%)
HSVhsv(217, 60%, 76%)
CMYKcmyk(60.3%, 37.1%, 0%, 23.9%)
CIE-LABlab(51.14, 6.77, -42.29)
CIE-LCHlch(51.14, 42.82, 279.10°)
OKLaboklab(58.07% -0.0224 -0.1199)
OKLCHoklch(58.07% 0.122 259.4)
XYZxyz(19.7543, 19.3902, 53.7301)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7AC2 #C2954D
analogous
#4DB4C2 #4D7AC2 #5A4DC2
triadic
#4D7AC2 #C24D7A #7AC24D
tetradic
#4D7AC2 #C24DB4 #C2954D #4DC25A
square
#4D7AC2 #C24DB4 #C2954D #4DC25A
split-complementary
#4D7AC2 #C25A4D #B4C24D
monochromatic
#26426F #365D9C #4D7AC2 #7B9CD2 #A8BEE1

Accessibility & contrast

On white

4.30
#4D7AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4D7AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7AC2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7AC2#FFFFFF#000000##000000
##4D7AC21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B80C5
Deuteranopia (green-blind)
#4C75C0
Tritanopia (blue-blind)
#008A95
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d7ac2;
/* rgb */ color: rgb(77, 122, 194);
/* oklch */ color: oklch(58.1% 0.122 259.4);
Tailwind
colors: {
  custom: {
    50: '#88a0d5',
    500: '#4d7ac2',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ac2;
$custom-light: #88a0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ac2",
  "rgb": {
    "r": 77,
    "g": 122,
    "b": 194
  },
  "hsl": {
    "h": 216.923,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58071,
    "c": 0.12199,
    "h": 259.4
  },
  "luminance": 0.19392
}

Semantic roles & 50–950 ramp

primary
#4D7AC2
secondary
#CFBB9C
accent
#A44FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4D7AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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