#8EA4FA

A color in the Blue, Sky, Navy family

#8ea4fa is a color in the Blue, Sky, Navy family: RGB(142, 164, 250), HSL(228°, 92%, 77%), CMYK(43%, 34%, 0%, 2%). Closest named color: cornflowerblue. Contrast is 2.38:1 on white and 8.84:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8ea4fa
RGBrgb(142 164 250)
RGB (legacy)rgb(142, 164, 250)
RGB %rgb(56% 64% 98%)
HSLhsl(228 92% 77%)
HSV / HSBhsv(228, 43%, 98%)
HWBhwb(228 56% 2%)
CMYKcmyk(43%, 34%, 0%, 2%)
CIELAB (D50)lab(68.33 8.67 -45.93)
LCHlch(68.33 46.75 280.69)
OKLaboklab(0.7369 0.0046 -0.1272)
OKLCHoklch(0.7369 0.1272 272.05)
Decimal9348346

Properties

Color ToneBlue, Sky, Navy
Closest named colorcornflowerblue ΔE 6.9
Closest web-safe color#9999ff
Hue228°
Saturation (HSL / HSV)92% / 43%
Lightness (HSL)77%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)66% / 65%
Relative luminance (WCAG)0.392
Red / Green / Blue142 / 164 / 250

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 46.7 / -55.3 · As background with white / black text: Lc -51.7 / 57.3

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: #8ea4fa;
  --color-brand-oklch: oklch(73.69% 0.1272 272.05);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(142 164 250 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8ea4fa] text-[#8ea4fa] border-[#8ea4fa]">