#4D7CCF#4D7CCF

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

Color values

HEX#4D7CCF
RGBrgb(77, 124, 207)
HSLhsl(218, 58%, 56%)
HSVhsv(218, 63%, 81%)
CMYKcmyk(62.8%, 40.1%, 0%, 18.8%)
CIE-LABlab(52.39, 9.98, -47.71)
CIE-LCHlch(52.39, 48.74, 281.81°)
OKLaboklab(59.27% -0.0216 -0.1358)
OKLCHoklch(59.27% 0.137 261)
XYZxyz(21.5267, 20.4961, 61.8411)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CCF #CFA04D
analogous
#4DBDCF #4D7CCF #5F4DCF
triadic
#4D7CCF #CF4D7C #7CCF4D
tetradic
#4D7CCF #CF4DBD #CFA04D #4DCF5F
square
#4D7CCF #CF4DBD #CFA04D #4DCF5F
split-complementary
#4D7CCF #CF5F4D #BDCF4D
monochromatic
#22447F #2F5EAF #4D7CCF #7D9FDC #ADC3E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7CCF#FFFFFF#000000##000000
##4D7CCF1.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)
#5784D2
Deuteranopia (green-blind)
#4477CD
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4d7ccf;
/* rgb */ color: rgb(77, 124, 207);
/* oklch */ color: oklch(59.3% 0.137 261.0);
Tailwind
colors: {
  custom: {
    50: '#8aa1de',
    500: '#4d7ccf',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ccf;
$custom-light: #8aa1de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ccf",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 207
  },
  "hsl": {
    "h": 218.308,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59268,
    "c": 0.13746,
    "h": 261
  },
  "luminance": 0.20498
}

Semantic roles & 50–950 ramp

primary
#4D7CCF
secondary
#D7C3A1
accent
#A947E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D7CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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