#4E7DC2#4E7DC2

#4E7DC2 is a mid, moderate blue. Relative luminance 0.202; OKLCH L 58.8% C 0.118 H 257.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E7DC2
RGBrgb(78, 125, 194)
HSLhsl(216, 49%, 53%)
HSVhsv(216, 60%, 76%)
CMYKcmyk(59.8%, 35.6%, 0%, 23.9%)
CIE-LABlab(52.04, 5.15, -40.86)
CIE-LCHlch(52.04, 41.18, 277.19°)
OKLaboklab(58.78% -0.0248 -0.1157)
OKLCHoklch(58.78% 0.118 257.9)
XYZxyz(20.2097, 20.1802, 53.8586)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DC2 #C2934E
analogous
#4EB7C2 #4E7DC2 #594EC2
triadic
#4E7DC2 #C24E7D #7DC24E
tetradic
#4E7DC2 #C24EB7 #C2934E #4EC259
square
#4E7DC2 #C24EB7 #C2934E #4EC259
split-complementary
#4E7DC2 #C2594E #B7C24E
monochromatic
#26446F #36609D #4E7DC2 #7C9ED2 #A9C0E1

Accessibility & contrast

On white

4.17
#4E7DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4E7DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DC2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DC2#FFFFFF#000000##000000
##4E7DC21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6082C5
Deuteranopia (green-blind)
#5177C1
Tritanopia (blue-blind)
#008D96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7dc2;
/* rgb */ color: rgb(78, 125, 194);
/* oklch */ color: oklch(58.8% 0.118 257.9);
Tailwind
colors: {
  custom: {
    50: '#89a2d5',
    500: '#4e7dc2',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dc2;
$custom-light: #89a2d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dc2",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 194
  },
  "hsl": {
    "h": 215.69,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58784,
    "c": 0.11832,
    "h": 257.9
  },
  "luminance": 0.20182
}

Semantic roles & 50–950 ramp

primary
#4E7DC2
secondary
#CFBB9D
accent
#A150D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4E7DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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