#4E7DCA#4E7DCA

#4E7DCA is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.2% C 0.129 H 259.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4E7DCA
RGBrgb(78, 125, 202)
HSLhsl(217, 54%, 55%)
HSVhsv(217, 61%, 79%)
CMYKcmyk(61.4%, 38.1%, 0%, 20.8%)
CIE-LABlab(52.45, 7.85, -44.77)
CIE-LCHlch(52.45, 45.45, 279.95°)
OKLaboklab(59.24% -0.0229 -0.1271)
OKLCHoklch(59.24% 0.129 259.8)
XYZxyz(21.1324, 20.5493, 58.7184)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DCA #CA9B4E
analogous
#4EBBCA #4E7DCA #5D4ECA
triadic
#4E7DCA #CA4E7D #7DCA4E
tetradic
#4E7DCA #CA4EBB #CA9B4E #4ECA5D
square
#4E7DCA #CA4EBB #CA9B4E #4ECA5D
split-complementary
#4E7DCA #CA5D4E #BBCA4E
monochromatic
#244579 #325FA8 #4E7DCA #7DA0D8 #ACC2E6

Accessibility & contrast

On white

4.11
#4E7DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4E7DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DCA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DCA#FFFFFF#000000##000000
##4E7DCA1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CD
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e7dca;
/* rgb */ color: rgb(78, 125, 202);
/* oklch */ color: oklch(59.2% 0.129 259.8);
Tailwind
colors: {
  custom: {
    50: '#8aa2da',
    500: '#4e7dca',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dca;
$custom-light: #8aa2da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dca",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 217.258,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59239,
    "c": 0.12916,
    "h": 259.8
  },
  "luminance": 0.20551
}

Semantic roles & 50–950 ramp

primary
#4E7DCA
secondary
#D4C0A0
accent
#A64BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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