#4E7EC2#4E7EC2

#4E7EC2 is a mid, moderate blue. Relative luminance 0.204; OKLCH L 59.0% C 0.117 H 257.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4E7EC2
RGBrgb(78, 126, 194)
HSLhsl(215, 49%, 53%)
HSVhsv(215, 60%, 76%)
CMYKcmyk(59.8%, 35.1%, 0%, 23.9%)
CIE-LABlab(52.33, 4.55, -40.41)
CIE-LCHlch(52.33, 40.67, 276.43°)
OKLaboklab(59.01% -0.0259 -0.1144)
OKLCHoklch(59.01% 0.117 257.2)
XYZxyz(20.3369, 20.4347, 53.9010)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7EC2 #C2924E
analogous
#4EB8C2 #4E7EC2 #584EC2
triadic
#4E7EC2 #C24E7E #7EC24E
tetradic
#4E7EC2 #C24EB8 #C2924E #4EC258
square
#4E7EC2 #C24EB8 #C2924E #4EC258
split-complementary
#4E7EC2 #C2584E #B8C24E
monochromatic
#26456F #36619D #4E7EC2 #7C9FD2 #A9C0E1

Accessibility & contrast

On white

4.13
#4E7EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4E7EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7EC2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7EC2#FFFFFF#000000##000000
##4E7EC21.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6183C5
Deuteranopia (green-blind)
#5278C1
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e7ec2;
/* rgb */ color: rgb(78, 126, 194);
/* oklch */ color: oklch(59.0% 0.117 257.2);
Tailwind
colors: {
  custom: {
    50: '#89a3d5',
    500: '#4e7ec2',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ec2;
$custom-light: #89a3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ec2",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 215.172,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59006,
    "c": 0.11726,
    "h": 257.2
  },
  "luminance": 0.20436
}

Semantic roles & 50–950 ramp

primary
#4E7EC2
secondary
#CFBA9D
accent
#A050D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4E7EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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