#4E7ECB#4E7ECB

#4E7ECB is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.5% C 0.129 H 259.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4E7ECB
RGBrgb(78, 126, 203)
HSLhsl(217, 55%, 55%)
HSVhsv(217, 62%, 80%)
CMYKcmyk(61.6%, 37.9%, 0%, 20.4%)
CIE-LABlab(52.79, 7.58, -44.81)
CIE-LCHlch(52.79, 45.45, 279.61°)
OKLaboklab(59.51% -0.0237 -0.1272)
OKLCHoklch(59.51% 0.129 259.5)
XYZxyz(21.3784, 20.8513, 59.3864)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ECB #CB9B4E
analogous
#4EBCCB #4E7ECB #5C4ECB
triadic
#4E7ECB #CB4E7E #7ECB4E
tetradic
#4E7ECB #CB4EBC #CB9B4E #4ECB5C
square
#4E7ECB #CB4EBC #CB9B4E #4ECB5C
split-complementary
#4E7ECB #CB5C4E #BCCB4E
monochromatic
#24457B #3260AA #4E7ECB #7DA0D9 #ADC3E7

Accessibility & contrast

On white

4.06
#4E7ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4E7ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7ECB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7ECB#FFFFFF#000000##000000
##4E7ECB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CE
Deuteranopia (green-blind)
#4C79C9
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7ecb;
/* rgb */ color: rgb(78, 126, 203);
/* oklch */ color: oklch(59.5% 0.129 259.5);
Tailwind
colors: {
  custom: {
    50: '#8aa3db',
    500: '#4e7ecb',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ecb;
$custom-light: #8aa3db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ecb",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 216.96,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59515,
    "c": 0.12942,
    "h": 259.5
  },
  "luminance": 0.20853
}

Semantic roles & 50–950 ramp

primary
#4E7ECB
secondary
#D5C0A0
accent
#A54ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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