#4D7DD2#4D7DD2

#4D7DD2 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.7% C 0.140 H 261.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4D7DD2
RGBrgb(77, 125, 210)
HSLhsl(218, 60%, 56%)
HSVhsv(218, 63%, 82%)
CMYKcmyk(63.3%, 40.5%, 0%, 17.6%)
CIE-LABlab(52.84, 10.40, -48.71)
CIE-LCHlch(52.84, 49.80, 282.05°)
OKLaboklab(59.66% -0.022 -0.1387)
OKLCHoklch(59.66% 0.14 261)
XYZxyz(22.0229, 20.8961, 63.8330)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7DD2 #D2A24D
analogous
#4DC0D2 #4D7DD2 #604DD2
triadic
#4D7DD2 #D24D7D #7DD24D
tetradic
#4D7DD2 #D24DC0 #D2A24D #4DD260
square
#4D7DD2 #D24DC0 #D2A24D #4DD260
split-complementary
#4D7DD2 #D2604D #C0D24D
monochromatic
#214583 #2E5EB4 #4D7DD2 #7EA1DE #AFC4EB

Accessibility & contrast

On white

4.05
#4D7DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4D7DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7DD2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7DD2#FFFFFF#000000##000000
##4D7DD21.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5785D5
Deuteranopia (green-blind)
#4378D0
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d7dd2;
/* rgb */ color: rgb(77, 125, 210);
/* oklch */ color: oklch(59.7% 0.140 261.0);
Tailwind
colors: {
  custom: {
    50: '#8ba2e0',
    500: '#4d7dd2',
    950: '#000000',
  },
}
SCSS
$custom: #4d7dd2;
$custom-light: #8ba2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7dd2",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 210
  },
  "hsl": {
    "h": 218.346,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59663,
    "c": 0.1404,
    "h": 261
  },
  "luminance": 0.20898
}

Semantic roles & 50–950 ramp

primary
#4D7DD2
secondary
#D9C5A2
accent
#AA45E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4D7DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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