#4D7FC8#4D7FC8

#4D7FC8 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.5% C 0.125 H 257.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4D7FC8
RGBrgb(77, 127, 200)
HSLhsl(216, 53%, 54%)
HSVhsv(216, 62%, 78%)
CMYKcmyk(61.5%, 36.5%, 0%, 21.6%)
CIE-LABlab(52.87, 5.77, -42.98)
CIE-LCHlch(52.87, 43.37, 277.65°)
OKLaboklab(59.51% -0.0263 -0.1219)
OKLCHoklch(59.51% 0.125 257.8)
XYZxyz(21.0716, 20.9247, 57.5608)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FC8 #C8964D
analogous
#4DBDC8 #4D7FC8 #594DC8
triadic
#4D7FC8 #C84D7F #7FC84D
tetradic
#4D7FC8 #C84DBD #C8964D #4DC859
square
#4D7FC8 #C84DBD #C8964D #4DC859
split-complementary
#4D7FC8 #C8594D #BDC84D
monochromatic
#244676 #3361A5 #4D7FC8 #7CA1D6 #ABC2E5

Accessibility & contrast

On white

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

On black

5.19
#4D7FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FC8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FC8#FFFFFF#000000##000000
##4D7FC81.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6085CB
Deuteranopia (green-blind)
#4F79C6
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d7fc8;
/* rgb */ color: rgb(77, 127, 200);
/* oklch */ color: oklch(59.5% 0.125 257.8);
Tailwind
colors: {
  custom: {
    50: '#89a3d9',
    500: '#4d7fc8',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fc8;
$custom-light: #89a3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fc8",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 200
  },
  "hsl": {
    "h": 215.61,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59515,
    "c": 0.12469,
    "h": 257.8
  },
  "luminance": 0.20927
}

Semantic roles & 50–950 ramp

primary
#4D7FC8
secondary
#D2BD9E
accent
#A14CDC
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0D0F14
muted
#7D7F83

Preview Lab

Preview with #4D7FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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