#4E7EC3#4E7EC3

#4E7EC3 is a mid, moderate blue. Relative luminance 0.205; OKLCH L 59.1% C 0.119 H 257.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4E7EC3
RGBrgb(78, 126, 195)
HSLhsl(215, 49%, 54%)
HSVhsv(215, 60%, 76%)
CMYKcmyk(60%, 35.4%, 0%, 23.5%)
CIE-LABlab(52.38, 4.89, -40.90)
CIE-LCHlch(52.38, 41.19, 276.81°)
OKLaboklab(59.06% -0.0256 -0.1158)
OKLCHoklch(59.06% 0.119 257.5)
XYZxyz(20.4496, 20.4797, 54.4945)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7EC3 #C3934E
analogous
#4EB8C3 #4E7EC3 #584EC3
triadic
#4E7EC3 #C34E7E #7EC34E
tetradic
#4E7EC3 #C34EB8 #C3934E #4EC358
square
#4E7EC3 #C34EB8 #C3934E #4EC358
split-complementary
#4E7EC3 #C3584E #B8C34E
monochromatic
#264570 #36619E #4E7EC3 #7C9FD2 #A9C1E2

Accessibility & contrast

On white

4.12
#4E7EC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4E7EC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7EC3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7EC3#FFFFFF#000000##000000
##4E7EC31.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6183C6
Deuteranopia (green-blind)
#5178C2
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e7ec3;
/* rgb */ color: rgb(78, 126, 195);
/* oklch */ color: oklch(59.1% 0.119 257.5);
Tailwind
colors: {
  custom: {
    50: '#89a3d5',
    500: '#4e7ec3',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ec3;
$custom-light: #89a3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ec3",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 195
  },
  "hsl": {
    "h": 215.385,
    "s": 49.367,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59061,
    "c": 0.11861,
    "h": 257.5
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E7EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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