#4E7EC9#4E7EC9

#4E7EC9 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.4% C 0.127 H 259.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4E7EC9
RGBrgb(78, 126, 201)
HSLhsl(217, 53%, 55%)
HSVhsv(217, 61%, 79%)
CMYKcmyk(61.2%, 37.3%, 0%, 21.2%)
CIE-LABlab(52.68, 6.91, -43.84)
CIE-LCHlch(52.68, 44.38, 278.95°)
OKLaboklab(59.4% -0.0242 -0.1244)
OKLCHoklch(59.4% 0.127 259)
XYZxyz(21.1416, 20.7566, 58.1393)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7EC9 #C9994E
analogous
#4EBCC9 #4E7EC9 #5B4EC9
triadic
#4E7EC9 #C94E7E #7EC94E
tetradic
#4E7EC9 #C94EBC #C9994E #4EC95B
square
#4E7EC9 #C94EBC #C9994E #4EC95B
split-complementary
#4E7EC9 #C95B4E #BCC94E
monochromatic
#254578 #3360A7 #4E7EC9 #7DA0D7 #ACC2E6

Accessibility & contrast

On white

4.08
#4E7EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4E7EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7EC9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7EC9#FFFFFF#000000##000000
##4E7EC91.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E84CC
Deuteranopia (green-blind)
#4D78C7
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7ec9;
/* rgb */ color: rgb(78, 126, 201);
/* oklch */ color: oklch(59.4% 0.127 259.0);
Tailwind
colors: {
  custom: {
    50: '#8aa3da',
    500: '#4e7ec9',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ec9;
$custom-light: #8aa3da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ec9",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 201
  },
  "hsl": {
    "h": 216.585,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.594,
    "c": 0.1267,
    "h": 259
  },
  "luminance": 0.20758
}

Semantic roles & 50–950 ramp

primary
#4E7EC9
secondary
#D3BF9F
accent
#A44BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0F15
muted
#7D7E83

Preview Lab

Preview with #4E7EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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