#8A8AEE

A color in the Blue, Sky, Navy family

#8a8aee is a color in the Blue, Sky, Navy family: RGB(138, 138, 238), HSL(240°, 75%, 74%), CMYK(42%, 42%, 0%, 7%). Closest named color: cornflowerblue. Contrast is 3.02:1 on white and 6.95:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a8aee
RGBrgb(138 138 238)
RGB (legacy)rgb(138, 138, 238)
RGB %rgb(54% 54% 93%)
HSLhsl(240 75% 74%)
HSV / HSBhsv(240, 42%, 93%)
HWBhwb(240 54% 7%)
CMYKcmyk(42%, 42%, 0%, 7%)
CIELAB (D50)lab(60.83 18.93 -51.17)
LCHlch(60.83 54.56 290.3)
OKLaboklab(0.6771 0.0298 -0.1425)
OKLCHoklch(0.6771 0.1456 281.8)
Decimal9079534

Properties

Color ToneBlue, Sky, Navy
Closest named colorcornflowerblue ΔE 5.1
Closest web-safe color#9999ff
Hue240°
Saturation (HSL / HSV)75% / 42%
Lightness (HSL)74%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)59% / 57%
Relative luminance (WCAG)0.2975
Red / Green / Blue138 / 138 / 238

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.02:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.95: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 56.8 / -44.9 · As background with white / black text: Lc -62.2 / 47.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: #8a8aee;
  --color-brand-oklch: oklch(67.71% 0.1456 281.8);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 138 238 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a8aee] text-[#8a8aee] border-[#8a8aee]">