#7888FE

A color in the Blue, Sky, Navy family

#7888fe is a color in the Blue, Sky, Navy family: RGB(120, 136, 254), HSL(233°, 99%, 73%), CMYK(53%, 46%, 0%, 0%). Closest named color: cornflowerblue. Contrast is 3.11:1 on white and 6.75:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7888fe
RGBrgb(120 136 254)
RGB (legacy)rgb(120, 136, 254)
RGB %rgb(47% 53% 100%)
HSLhsl(233 99% 73%)
HSV / HSBhsv(233, 53%, 100%)
HWBhwb(233 47% 0%)
CMYKcmyk(53%, 46%, 0%, 0%)
CIELAB (D50)lab(59.74 19.17 -61.79)
LCHlch(59.74 64.69 287.23)
OKLaboklab(0.6701 0.0149 -0.173)
OKLCHoklch(0.6701 0.1737 274.9)
Decimal7899390

Properties

Color ToneBlue, Sky, Navy
Closest named colorcornflowerblue ΔE 4.9
Closest web-safe color#6699ff
Hue233°
Saturation (HSL / HSV)99% / 53%
Lightness (HSL)73%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)57% / 55%
Relative luminance (WCAG)0.2876
Red / Green / Blue120 / 136 / 254

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.11:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.75: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 57.9 / -43.9 · As background with white / black text: Lc -63.3 / 46.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: #7888fe;
  --color-brand-oklch: oklch(67.01% 0.1737 274.9);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(120 136 254 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7888fe] text-[#7888fe] border-[#7888fe]">