#4E6BCD

A color in the Blue, Sky, Navy family

#4e6bcd is a color in the Blue, Sky, Navy family: RGB(78, 107, 205), HSL(226°, 56%, 55%), CMYK(62%, 48%, 0%, 20%). Closest named color: royalblue. Contrast is 4.87:1 on white and 4.31:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e6bcd
RGBrgb(78 107 205)
RGB (legacy)rgb(78, 107, 205)
RGB %rgb(31% 42% 80%)
HSLhsl(226 56% 55%)
HSV / HSBhsv(226, 62%, 80%)
HWBhwb(226 31% 20%)
CMYKcmyk(62%, 48%, 0%, 20%)
CIELAB (D50)lab(46.89 13.18 -55.13)
LCHlch(46.89 56.68 283.45)
OKLaboklab(0.5562 -0.0038 -0.1547)
OKLCHoklch(0.5562 0.1548 268.59)
Decimal5139405

Properties

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

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 73.5 / -28.2 · As background with white / black text: Lc -78.9 / 30.6

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: #4e6bcd;
  --color-brand-oklch: oklch(55.62% 0.1548 268.59);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 107 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e6bcd] text-[#4e6bcd] border-[#4e6bcd]">