#4E87F1

A color in the Blue, Sky, Navy family

#4e87f1 is a color in the Blue, Sky, Navy family: RGB(78, 135, 241), HSL(219°, 85%, 63%), CMYK(68%, 44%, 0%, 5%). Closest named color: dodgerblue. Contrast is 3.47:1 on white and 6.06:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e87f1
RGBrgb(78 135 241)
RGB (legacy)rgb(78, 135, 241)
RGB %rgb(31% 53% 95%)
HSLhsl(219 85% 63%)
HSV / HSBhsv(219, 68%, 95%)
HWBhwb(219 31% 5%)
CMYKcmyk(68%, 44%, 0%, 5%)
CIELAB (D50)lab(56.48 7.41 -60)
LCHlch(56.48 60.46 277.04)
OKLaboklab(0.6373 -0.0249 -0.1683)
OKLCHoklch(0.6373 0.1701 261.58)
Decimal5146609

Properties

Color ToneBlue, Sky, Navy
Closest named colordodgerblue ΔE 3.6
Closest web-safe color#6699ff
Hue219°
Saturation (HSL / HSV)85% / 68%
Lightness (HSL)63%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)51% / 51%
Relative luminance (WCAG)0.253
Red / Green / Blue78 / 135 / 241

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.47:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.06: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 61.9 / -39.8 · As background with white / black text: Lc -67.3 / 42.2

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: #4e87f1;
  --color-brand-oklch: oklch(63.73% 0.1701 261.58);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 135 241 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e87f1] text-[#4e87f1] border-[#4e87f1]">