#4D7ACC#4D7ACC

#4D7ACC is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.7% C 0.136 H 261.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4D7ACC
RGBrgb(77, 122, 204)
HSLhsl(219, 55%, 55%)
HSVhsv(219, 62%, 80%)
CMYKcmyk(62.3%, 40.2%, 0%, 20%)
CIE-LABlab(51.67, 10.17, -47.15)
CIE-LCHlch(51.67, 48.24, 282.18°)
OKLaboklab(58.66% -0.0201 -0.1341)
OKLCHoklch(58.66% 0.136 261.5)
XYZxyz(20.9154, 19.8546, 59.8451)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7ACC #CC9F4D
analogous
#4DBACC #4D7ACC #5F4DCC
triadic
#4D7ACC #CC4D7A #7ACC4D
tetradic
#4D7ACC #CC4DBA #CC9F4D #4DCC5F
square
#4D7ACC #CC4DBA #CC9F4D #4DCC5F
split-complementary
#4D7ACC #CC5F4D #BACC4D
monochromatic
#23427B #315CAB #4D7ACC #7D9EDA #ACC1E7

Accessibility & contrast

On white

4.22
#4D7ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4D7ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7ACC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7ACC#FFFFFF#000000##000000
##4D7ACC1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682CF
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d7acc;
/* rgb */ color: rgb(77, 122, 204);
/* oklch */ color: oklch(58.7% 0.136 261.5);
Tailwind
colors: {
  custom: {
    50: '#8aa0dc',
    500: '#4d7acc',
    950: '#000000',
  },
}
SCSS
$custom: #4d7acc;
$custom-light: #8aa0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7acc",
  "rgb": {
    "r": 77,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 218.74,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58656,
    "c": 0.13565,
    "h": 261.5
  },
  "luminance": 0.19856
}

Semantic roles & 50–950 ramp

primary
#4D7ACC
secondary
#D5C2A0
accent
#AA49DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D7ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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