#4E7DC4#4E7DC4

#4E7DC4 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 58.9% C 0.121 H 258.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4E7DC4
RGBrgb(78, 125, 196)
HSLhsl(216, 50%, 54%)
HSVhsv(216, 60%, 77%)
CMYKcmyk(60.2%, 36.2%, 0%, 23.1%)
CIE-LABlab(52.14, 5.83, -41.84)
CIE-LCHlch(52.14, 42.25, 277.93°)
OKLaboklab(58.9% -0.0243 -0.1186)
OKLCHoklch(58.9% 0.121 258.4)
XYZxyz(20.4358, 20.2706, 55.0495)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DC4 #C4954E
analogous
#4EB8C4 #4E7DC4 #5A4EC4
triadic
#4E7DC4 #C44E7D #7DC44E
tetradic
#4E7DC4 #C44EB8 #C4954E #4EC45A
square
#4E7DC4 #C44EB8 #C4954E #4EC45A
split-complementary
#4E7DC4 #C45A4E #B8C44E
monochromatic
#264472 #3560A0 #4E7DC4 #7C9FD3 #AAC0E3

Accessibility & contrast

On white

4.15
#4E7DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4E7DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DC4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DC4#FFFFFF#000000##000000
##4E7DC41.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F82C7
Deuteranopia (green-blind)
#4F77C3
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7dc4;
/* rgb */ color: rgb(78, 125, 196);
/* oklch */ color: oklch(58.9% 0.121 258.4);
Tailwind
colors: {
  custom: {
    50: '#89a2d6',
    500: '#4e7dc4',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dc4;
$custom-light: #89a2d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dc4",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 196
  },
  "hsl": {
    "h": 216.102,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58896,
    "c": 0.12102,
    "h": 258.4
  },
  "luminance": 0.20272
}

Semantic roles & 50–950 ramp

primary
#4E7DC4
secondary
#D0BC9E
accent
#A24EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4E7DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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