#4E7CD0#4E7CD0

#4E7CD0 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.4% C 0.138 H 261.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4E7CD0
RGBrgb(78, 124, 208)
HSLhsl(219, 58%, 56%)
HSVhsv(219, 63%, 82%)
CMYKcmyk(62.5%, 40.4%, 0%, 18.4%)
CIE-LABlab(52.49, 10.50, -48.11)
CIE-LCHlch(52.49, 49.25, 282.31°)
OKLaboklab(59.38% -0.0205 -0.1369)
OKLCHoklch(59.38% 0.138 261.5)
XYZxyz(21.7307, 20.5871, 62.4908)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CD0 #D0A24E
analogous
#4EBDD0 #4E7CD0 #614ED0
triadic
#4E7CD0 #D04E7C #7CD04E
tetradic
#4E7CD0 #D04EBD #D0A24E #4ED061
square
#4E7CD0 #D04EBD #D0A24E #4ED061
split-complementary
#4E7CD0 #D0614E #BDD04E
monochromatic
#224481 #2F5DB2 #4E7CD0 #7EA0DD #AFC4EA

Accessibility & contrast

On white

4.10
#4E7CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4E7CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CD0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CD0#FFFFFF#000000##000000
##4E7CD01.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7cd0;
/* rgb */ color: rgb(78, 124, 208);
/* oklch */ color: oklch(59.4% 0.138 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ba1df',
    500: '#4e7cd0',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cd0;
$custom-light: #8ba1df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cd0",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 208
  },
  "hsl": {
    "h": 218.769,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59376,
    "c": 0.13845,
    "h": 261.5
  },
  "luminance": 0.20589
}

Semantic roles & 50–950 ramp

primary
#4E7CD0
secondary
#D8C5A2
accent
#AB47E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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