#4E8FF2

A color in the Blue, Sky, Navy family

#4e8ff2 is a color in the Blue, Sky, Navy family: RGB(78, 143, 242), HSL(216°, 86%, 63%), CMYK(68%, 41%, 0%, 5%). Closest named color: cornflowerblue. Contrast is 3.21:1 on white and 6.54:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4e8ff2
RGBrgb(78 143 242)
RGB (legacy)rgb(78, 143, 242)
RGB %rgb(31% 56% 95%)
HSLhsl(216 86% 63%)
HSV / HSBhsv(216, 68%, 95%)
HWBhwb(216 31% 5%)
CMYKcmyk(68%, 41%, 0%, 5%)
CIELAB (D50)lab(58.76 3.26 -56.93)
LCHlch(58.76 57.02 273.28)
OKLaboklab(0.6547 -0.032 -0.1593)
OKLCHoklch(0.6547 0.1625 258.64)
Decimal5148658

Properties

Color ToneBlue, Sky, Navy
Closest named colorcornflowerblue ΔE 3
Closest web-safe color#6699ff
Hue216°
Saturation (HSL / HSV)86% / 68%
Lightness (HSL)63%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)53% / 53%
Relative luminance (WCAG)0.2768
Red / Green / Blue78 / 143 / 242

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.21:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.54: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 59 / -42.7 · As background with white / black text: Lc -64.5 / 45

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: #4e8ff2;
  --color-brand-oklch: oklch(65.47% 0.1625 258.64);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 143 242 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e8ff2] text-[#4e8ff2] border-[#4e8ff2]">