#4D7CDA#4D7CDA

#4D7CDA is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.9% C 0.152 H 262.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4D7CDA
RGBrgb(77, 124, 218)
HSLhsl(220, 66%, 58%)
HSVhsv(220, 65%, 85%)
CMYKcmyk(64.7%, 43.1%, 0%, 14.5%)
CIE-LABlab(53.01, 13.76, -52.95)
CIE-LCHlch(53.01, 54.71, 284.57°)
OKLaboklab(59.94% -0.0194 -0.1511)
OKLCHoklch(59.94% 0.152 262.7)
XYZxyz(22.9187, 21.0529, 69.1719)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CDA #DAAB4D
analogous
#4DC2DA #4D7CDA #644DDA
triadic
#4D7CDA #DA4D7C #7CDA4D
tetradic
#4D7CDA #DA4DC2 #DAAB4D #4DDA64
square
#4D7CDA #DA4DC2 #DAAB4D #4DDA64
split-complementary
#4D7CDA #DA644D #C2DA4D
monochromatic
#1E438F #285BC2 #4D7CDA #80A1E5 #B2C7EF

Accessibility & contrast

On white

4.03
#4D7CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4D7CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CDA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CDA#FFFFFF#000000##000000
##4D7CDA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5086DE
Deuteranopia (green-blind)
#3979D8
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7cda;
/* rgb */ color: rgb(77, 124, 218);
/* oklch */ color: oklch(59.9% 0.152 262.7);
Tailwind
colors: {
  custom: {
    50: '#8ca1e6',
    500: '#4d7cda',
    950: '#000000',
  },
}
SCSS
$custom: #4d7cda;
$custom-light: #8ca1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7cda",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 218
  },
  "hsl": {
    "h": 220,
    "s": 65.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59941,
    "c": 0.15238,
    "h": 262.7
  },
  "luminance": 0.21055
}

Semantic roles & 50–950 ramp

primary
#4D7CDA
secondary
#DECBA5
accent
#B03FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D7CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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