#4D7CD0#4D7CD0

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

Color values

HEX#4D7CD0
RGBrgb(77, 124, 208)
HSLhsl(218, 58%, 56%)
HSVhsv(218, 63%, 82%)
CMYKcmyk(63%, 40.4%, 0%, 18.4%)
CIE-LABlab(52.45, 10.32, -48.19)
CIE-LCHlch(52.45, 49.28, 282.09°)
OKLaboklab(59.33% -0.0214 -0.1372)
OKLCHoklch(59.33% 0.139 261.1)
XYZxyz(21.6494, 20.5452, 62.4870)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CD0 #D0A14D
analogous
#4DBDD0 #4D7CD0 #5F4DD0
triadic
#4D7CD0 #D04D7C #7CD04D
tetradic
#4D7CD0 #D04DBD #D0A14D #4DD05F
square
#4D7CD0 #D04DBD #D0A14D #4DD05F
split-complementary
#4D7CD0 #D05F4D #BDD04D
monochromatic
#224481 #2F5DB1 #4D7CD0 #7DA0DD #AEC3EA

Accessibility & contrast

On white

4.11
#4D7CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4D7CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CD0
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CD0#FFFFFF#000000##000000
##4D7CD01.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5784D3
Deuteranopia (green-blind)
#4378CE
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4d7cd0;
/* rgb */ color: rgb(77, 124, 208);
/* oklch */ color: oklch(59.3% 0.139 261.1);
Tailwind
colors: {
  custom: {
    50: '#8ba1df',
    500: '#4d7cd0',
    950: '#000000',
  },
}
SCSS
$custom: #4d7cd0;
$custom-light: #8ba1df;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7cd0",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 208
  },
  "hsl": {
    "h": 218.473,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59328,
    "c": 0.13882,
    "h": 261.1
  },
  "luminance": 0.20547
}

Semantic roles & 50–950 ramp

primary
#4D7CD0
secondary
#D8C4A1
accent
#AA46E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D7CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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