#4E87F0

A color in the Blue, Sky, Navy family

#4e87f0 is a color in the Blue, Sky, Navy family: RGB(78, 135, 240), HSL(219°, 84%, 62%), CMYK(68%, 44%, 0%, 6%). Closest named color: dodgerblue. Contrast is 3.47:1 on white and 6.05:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e87f0
RGBrgb(78 135 240)
RGB (legacy)rgb(78, 135, 240)
RGB %rgb(31% 53% 94%)
HSLhsl(219 84% 62%)
HSV / HSBhsv(219, 68%, 94%)
HWBhwb(219 31% 6%)
CMYKcmyk(68%, 44%, 0%, 6%)
CIELAB (D50)lab(56.43 7.12 -59.53)
LCHlch(56.43 59.95 276.83)
OKLaboklab(0.6367 -0.0251 -0.1669)
OKLCHoklch(0.6367 0.1688 261.46)
Decimal5146608

Properties

Color ToneBlue, Sky, Navy
Closest named colordodgerblue ΔE 3.7
Closest web-safe color#6699ff
Hue219°
Saturation (HSL / HSV)84% / 68%
Lightness (HSL)62%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)51% / 51%
Relative luminance (WCAG)0.2524
Red / Green / Blue78 / 135 / 240

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.05: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.7 · As background with white / black text: Lc -67.4 / 42.1

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