#4D7FDA#4D7FDA

#4D7FDA is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.6% C 0.149 H 261.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4D7FDA
RGBrgb(77, 127, 218)
HSLhsl(219, 66%, 58%)
HSVhsv(219, 65%, 85%)
CMYKcmyk(64.7%, 41.7%, 0%, 14.5%)
CIE-LABlab(53.83, 11.93, -51.64)
CIE-LCHlch(53.83, 53.00, 283.01°)
OKLaboklab(60.58% -0.0223 -0.1472)
OKLCHoklch(60.58% 0.149 261.4)
XYZxyz(23.3004, 21.8163, 69.2991)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FDA #DAA84D
analogous
#4DC6DA #4D7FDA #614DDA
triadic
#4D7FDA #DA4D7F #7FDA4D
tetradic
#4D7FDA #DA4DC6 #DAA84D #4DDA61
square
#4D7FDA #DA4DC6 #DAA84D #4DDA61
split-complementary
#4D7FDA #DA614D #C6DA4D
monochromatic
#1E468F #285FC2 #4D7FDA #80A3E5 #B2C8EF

Accessibility & contrast

On white

3.92
#4D7FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4D7FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FDA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FDA#FFFFFF#000000##000000
##4D7FDA1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DE
Deuteranopia (green-blind)
#3F7BD8
Tritanopia (blue-blind)
#0094A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4d7fda;
/* rgb */ color: rgb(77, 127, 218);
/* oklch */ color: oklch(60.6% 0.149 261.4);
Tailwind
colors: {
  custom: {
    50: '#8ca3e6',
    500: '#4d7fda',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fda;
$custom-light: #8ca3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fda",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 218.723,
    "s": 65.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60577,
    "c": 0.14893,
    "h": 261.4
  },
  "luminance": 0.21818
}

Semantic roles & 50–950 ramp

primary
#4D7FDA
secondary
#DECAA5
accent
#AD3FE9
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4D7FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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