Skip to content

#8799df

a light, vivid blue · cool · closest name: Cornflower Blue

RGB
135, 153, 223
HSL
228°, 58%, 70%
CMYK
40, 31, 0, 13
Luminance
0.3326

At a glance

Every number on this page in one read: what #8799df is made of, how bright it looks, and which way it leans.

Hex
#8799df
Hue
228°
blue
Saturation
58%
vivid
Lightness
70%
light
Brightness
87%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3326
WCAG relative
Temperature
Cool
90/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
7.65:1
Closest name
Cornflower Blue
ΔE2000 7
Where it sits
Hue228° of 360°
Saturation58%
Lightness70%
Temperature
Warm ← → Cool90% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#8799df
RGBrgb(135, 153, 223)
HSLhsl(228, 58%, 70%)
CMYKcmyk(40%, 31%, 0%, 13%)
LABlab(64.4 10.9 -37.6)
LCHlch(64.4 39.1 286.2)
OKLCHoklch(0.697 0.105 272.4)
Decimal8886751
Display P3color(display-p3 0.529 0.600 0.875)

Copy-ready code

/* CSS */
color: #8799df;
background-color: #8799df;
/* Tailwind (arbitrary) */
class="text-[#8799df] bg-[#8799df]"
/* SCSS */
$brand: #8799df;
/* SwiftUI */
Color(red: 0.529, green: 0.600, blue: 0.875)
/* Android */
Color.parseColor("#8799df")
/* Flutter */
Color(0xFF8799DF)
/* Python / OpenCV (BGR) */
(223, 153, 135)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #8799df · 7.65:1
Use #000000AAA at every size.
Aa
White text · 2.74:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.65:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #8799df as text scores 2.74:1 on white and 7.65:1 on black.

Accessibility — WCAG contrast

Aa
#8799df on white: 2.74:1
AA ✗ fail · AA-large · AAA
Aa
#8799df on black: 7.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #81A0E2
deuteranopia · #7A99DD
tritanopia · #6BA7B2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #8799df is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4F5FB
#E9ECF7
#CDD4EF
#A6B4E7
#8799df
#4E68D0
#3451C1
#2B43A1
#223681
#1D2A5E
#121A3B
Base = 400Lightest = 50 · #F4F5FBDarkest = 950 · #121A3B
:root {
  --brand-50: #F4F5FB;
  --brand-100: #E9ECF7;
  --brand-200: #CDD4EF;
  --brand-300: #A6B4E7;
  --brand-400: #8799df;
  --brand-500: #4E68D0;
  --brand-600: #3451C1;
  --brand-700: #2B43A1;
  --brand-800: #223681;
  --brand-900: #1D2A5E;
  --brand-950: #121A3B;
  --brand: #8799df;
  --brand-ink: #000000;
}

Colors that work with #8799df

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F6FA
Tinted page background
Border#C0C9ED
Hairlines and dividers
Muted text#4B5B9B
Captions on the surface
Accent#A56B27
Second voice, not a rival
Dark variant#1B2A65
Hover, pressed, headers
Light variant#EBEEFA
Selected rows, tints
Dark surface#141724
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #8799df

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#DFCD87
Analogous left#87C5DF
Analogous right#A187DF
Split-complement 1#DFA187
Split-complement 2#C5DF87
Triadic 1#DF8799
Triadic 2#99DF87
Tetradic#DF87C5

RGB percentages

Red52.9%
Green60.0%
Blue87.5%

CMYK percentages

Cyan39.5%
Magenta31.4%
Yellow0.0%
Key (black)12.5%

Color previews

#8799df text on a black background

contrast 7.65:1

Card sample

#8799df text on a white background

contrast 2.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8799df;
Background color
Panel with #8799df background
background-color: #8799df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #8799df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(135, 153, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(135, 153, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8799df;
background: linear-gradient(135deg, #8799df, #B087DF);

Monochromatic scale

Palettes built from #8799df

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#8799df in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#8799df, answered

What color is #8799df?

#8799df is a light vivid blue, closest to Cornflower Blue (ΔE2000 7). It sits at 228° on the hue wheel with 58% saturation and 70% lightness, which reads as cool.

What is the RGB value of #8799df?

rgb(135, 153, 223) — 135 red, 153 green and 223 blue out of 255, or 52.9% / 60% / 87.5% by channel.

Is #8799df a light or a dark color?

It is a mid-tone. Relative luminance is 0.3326 and perceived brightness is 62%, so black text on it reaches 7.65:1.

Should I use black or white text on #8799df?

Black. It scores 7.65:1 against #8799df, versus 2.74:1 for white — AAA at any size.

What is the complementary color of #8799df?

#DFCD87 sits directly opposite on the wheel. Softer options are the split-complements #DFA187 and #C5DF87, which give the same contrast with far less vibration.

What colors go well with #8799df?

For interface work: #F4F6FA as the surface, #C0C9ED for borders, #4B5B9B for secondary text, #A56B27 as an accent and #1B2A65 for hover and pressed states. For a palette, the analogous pair #87C5DF and #A187DF stays calm, while #DFCD87 is the loudest partner.

What is #8799df in CMYK for printing?

cmyk(40%, 31%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #8799df warm or cool?

Cool — it scores 90 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9587DF; nudged cooler, #85A9E1.

Work with #8799df in the Color Lab