#8A8AEF

A color in the Blue, Sky, Navy family

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

Open in Picker Generate Scheme

Color Codes

HEX#8a8aef
RGBrgb(138 138 239)
RGB (legacy)rgb(138, 138, 239)
RGB %rgb(54% 54% 94%)
HSLhsl(240 76% 74%)
HSV / HSBhsv(240, 42%, 94%)
HWBhwb(240 54% 6%)
CMYKcmyk(42%, 42%, 0%, 6%)
CIELAB (D50)lab(60.88 19.15 -51.65)
LCHlch(60.88 55.09 290.34)
OKLaboklab(0.6776 0.0299 -0.1439)
OKLCHoklch(0.6776 0.147 281.75)
Decimal9079535

Properties

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

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.96: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 / -45 · As background with white / black text: Lc -62.1 / 47.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: #8a8aef;
  --color-brand-oklch: oklch(67.76% 0.147 281.75);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 138 239 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a8aef] text-[#8a8aef] border-[#8a8aef]">