#4E7DC0#4E7DC0

#4E7DC0 is a mid, moderate blue. Relative luminance 0.201; OKLCH L 58.7% C 0.116 H 257.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4E7DC0
RGBrgb(78, 125, 192)
HSLhsl(215, 48%, 53%)
HSVhsv(215, 59%, 75%)
CMYKcmyk(59.4%, 34.9%, 0%, 24.7%)
CIE-LABlab(51.94, 4.48, -39.88)
CIE-LCHlch(51.94, 40.13, 276.42°)
OKLaboklab(58.67% -0.0253 -0.1128)
OKLCHoklch(58.67% 0.116 257.4)
XYZxyz(19.9866, 20.0910, 52.6836)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DC0 #C0914E
analogous
#4EB6C0 #4E7DC0 #584EC0
triadic
#4E7DC0 #C04E7D #7DC04E
tetradic
#4E7DC0 #C04EB6 #C0914E #4EC058
square
#4E7DC0 #C04EB6 #C0914E #4EC058
split-complementary
#4E7DC0 #C0584E #B6C04E
monochromatic
#27446D #37609A #4E7DC0 #7B9ED0 #A8BFE0

Accessibility & contrast

On white

4.18
#4E7DC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4E7DC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DC0
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DC0#FFFFFF#000000##000000
##4E7DC01.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6182C3
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#008C95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7dc0;
/* rgb */ color: rgb(78, 125, 192);
/* oklch */ color: oklch(58.7% 0.116 257.4);
Tailwind
colors: {
  custom: {
    50: '#89a2d3',
    500: '#4e7dc0',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dc0;
$custom-light: #89a2d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dc0",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 192
  },
  "hsl": {
    "h": 215.263,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58673,
    "c": 0.11562,
    "h": 257.4
  },
  "luminance": 0.20093
}

Semantic roles & 50–950 ramp

primary
#4E7DC0
secondary
#CEB99C
accent
#A051D7
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4E7DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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