#4D7DCA#4D7DCA

#4D7DCA is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.2% C 0.130 H 259.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4D7DCA
RGBrgb(77, 125, 202)
HSLhsl(217, 54%, 55%)
HSVhsv(217, 62%, 79%)
CMYKcmyk(61.9%, 38.1%, 0%, 20.8%)
CIE-LABlab(52.41, 7.66, -44.85)
CIE-LCHlch(52.41, 45.50, 279.70°)
OKLaboklab(59.19% -0.0237 -0.1274)
OKLCHoklch(59.19% 0.13 259.4)
XYZxyz(21.0511, 20.5074, 58.7146)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7DCA #CA9A4D
analogous
#4DBCCA #4D7DCA #5C4DCA
triadic
#4D7DCA #CA4D7D #7DCA4D
tetradic
#4D7DCA #CA4DBC #CA9A4D #4DCA5C
square
#4D7DCA #CA4DBC #CA9A4D #4DCA5C
split-complementary
#4D7DCA #CA5C4D #BCCA4D
monochromatic
#244479 #325FA8 #4D7DCA #7C9FD8 #ABC2E6

Accessibility & contrast

On white

4.12
#4D7DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4D7DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7DCA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7DCA#FFFFFF#000000##000000
##4D7DCA1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CD
Deuteranopia (green-blind)
#4A78C8
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4d7dca;
/* rgb */ color: rgb(77, 125, 202);
/* oklch */ color: oklch(59.2% 0.130 259.4);
Tailwind
colors: {
  custom: {
    50: '#8aa2da',
    500: '#4d7dca',
    950: '#000000',
  },
}
SCSS
$custom: #4d7dca;
$custom-light: #8aa2da;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7dca",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 216.96,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5919,
    "c": 0.12955,
    "h": 259.4
  },
  "luminance": 0.20509
}

Semantic roles & 50–950 ramp

primary
#4D7DCA
secondary
#D4C09F
accent
#A54ADD
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0F15
muted
#7D7E83

Preview Lab

Preview with #4D7DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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