#4E71CD

A color in the Blue, Sky, Navy family

#4e71cd is a color in the Blue, Sky, Navy family: RGB(78, 113, 205), HSL(223°, 56%, 55%), CMYK(62%, 45%, 0%, 20%). Closest named color: royalblue. Contrast is 4.6:1 on white and 4.57:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4e71cd
RGBrgb(78 113 205)
RGB (legacy)rgb(78, 113, 205)
RGB %rgb(31% 44% 80%)
HSLhsl(223 56% 55%)
HSV / HSBhsv(223, 62%, 80%)
HWBhwb(223 31% 20%)
CMYKcmyk(62%, 45%, 0%, 20%)
CIELAB (D50)lab(48.55 9.7 -52.47)
LCHlch(48.55 53.36 280.47)
OKLaboklab(0.5686 -0.0098 -0.147)
OKLCHoklch(0.5686 0.1474 266.17)
Decimal5140941

Properties

Color ToneBlue, Sky, Navy
Closest named colorroyalblue ΔE 4.2
Closest web-safe color#6666cc
Hue223°
Saturation (HSL / HSV)56% / 62%
Lightness (HSL)55%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)44% / 44%
Relative luminance (WCAG)0.1784
Red / Green / Blue78 / 113 / 205

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.60:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.57:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 71.7 / -30 · As background with white / black text: Lc -77.1 / 32.4

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #4e71cd;
  --color-brand-oklch: oklch(56.86% 0.1474 266.17);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 113 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e71cd] text-[#4e71cd] border-[#4e71cd]">