#8EA2EB

A color in the Blue, Sky, Navy family

#8ea2eb is a color in the Blue, Sky, Navy family: RGB(142, 162, 235), HSL(227°, 70%, 74%), CMYK(40%, 31%, 0%, 8%). Closest named color: cornflowerblue. Contrast is 2.47:1 on white and 8.52:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8ea2eb
RGBrgb(142 162 235)
RGB (legacy)rgb(142, 162, 235)
RGB %rgb(56% 64% 92%)
HSLhsl(227 70% 74%)
HSV / HSBhsv(227, 40%, 92%)
HWBhwb(227 56% 8%)
CMYKcmyk(40%, 31%, 0%, 8%)
CIELAB (D50)lab(67.24 6.46 -39.48)
LCHlch(67.24 40 279.3)
OKLaboklab(0.7256 0.0033 -0.1088)
OKLCHoklch(0.7256 0.1089 271.76)
Decimal9347819

Properties

Color ToneBlue, Sky, Navy
Closest named colorcornflowerblue ΔE 6.4
Closest web-safe color#9999ff
Hue227°
Saturation (HSL / HSV)70% / 40%
Lightness (HSL)74%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)64% / 64%
Relative luminance (WCAG)0.3759
Red / Green / Blue142 / 162 / 235

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.47:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.52: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 48.4 / -53.6 · As background with white / black text: Lc -53.4 / 55.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: #8ea2eb;
  --color-brand-oklch: oklch(72.56% 0.1089 271.76);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(142 162 235 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8ea2eb] text-[#8ea2eb] border-[#8ea2eb]">