#4D7ACD#4D7ACD

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

Color values

HEX#4D7ACD
RGBrgb(77, 122, 205)
HSLhsl(219, 56%, 55%)
HSVhsv(219, 62%, 80%)
CMYKcmyk(62.4%, 40.5%, 0%, 19.6%)
CIE-LABlab(51.73, 10.52, -47.63)
CIE-LCHlch(51.73, 48.78, 282.45°)
OKLaboklab(58.72% -0.0199 -0.1356)
OKLCHoklch(58.72% 0.137 261.6)
XYZxyz(21.0357, 19.9027, 60.4788)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7ACD #CDA04D
analogous
#4DBACD #4D7ACD #604DCD
triadic
#4D7ACD #CD4D7A #7ACD4D
tetradic
#4D7ACD #CD4DBA #CDA04D #4DCD60
square
#4D7ACD #CD4DBA #CDA04D #4DCD60
split-complementary
#4D7ACD #CD604D #BACD4D
monochromatic
#23437D #305CAC #4D7ACD #7D9EDA #ADC1E8

Accessibility & contrast

On white

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

On black

4.98
#4D7ACD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7ACD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7ACD#FFFFFF#000000##000000
##4D7ACD1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D0
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d7acd;
/* rgb */ color: rgb(77, 122, 205);
/* oklch */ color: oklch(58.7% 0.137 261.6);
Tailwind
colors: {
  custom: {
    50: '#8aa0dd',
    500: '#4d7acd',
    950: '#000000',
  },
}
SCSS
$custom: #4d7acd;
$custom-light: #8aa0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7acd",
  "rgb": {
    "r": 77,
    "g": 122,
    "b": 205
  },
  "hsl": {
    "h": 218.906,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58716,
    "c": 0.13702,
    "h": 261.6
  },
  "luminance": 0.19905
}

Semantic roles & 50–950 ramp

primary
#4D7ACD
secondary
#D6C3A0
accent
#AA48DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D7ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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