Skip to content

#8196df

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

RGB
129, 150, 223
HSL
227°, 60%, 69%
CMYK
42, 33, 0, 13
Luminance
0.3181

At a glance

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

Hex
#8196df
Hue
227°
blue
Saturation
60%
vivid
Lightness
69%
light
Brightness
87%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3181
WCAG relative
Temperature
Cool
91/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
7.36:1
Closest name
Cornflower Blue
ΔE2000 5.9
Where it sits
Hue227° of 360°
Saturation60%
Lightness69%
Temperature
Warm ← → Cool91% 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#8196df
RGBrgb(129, 150, 223)
HSLhsl(227, 60%, 69%)
CMYKcmyk(42%, 33%, 0%, 13%)
LABlab(63.2 11.1 -39.5)
LCHlch(63.2 41.0 285.7)
OKLCHoklch(0.686 0.111 271.0)
Decimal8492767
Display P3color(display-p3 0.506 0.588 0.875)

Copy-ready code

/* CSS */
color: #8196df;
background-color: #8196df;
/* Tailwind (arbitrary) */
class="text-[#8196df] bg-[#8196df]"
/* SCSS */
$brand: #8196df;
/* SwiftUI */
Color(red: 0.506, green: 0.588, blue: 0.875)
/* Android */
Color.parseColor("#8196df")
/* Flutter */
Color(0xFF8196DF)
/* Python / OpenCV (BGR) */
(223, 150, 129)

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 #8196df · 7.36:1
Use #000000AAA at every size.
Aa
White text · 2.85:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.36:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #8196df as text scores 2.85:1 on white and 7.36:1 on black.

Accessibility — WCAG contrast

Aa
#8196df on white: 2.85:1
AA ✗ fail · AA-large · AAA
Aa
#8196df on black: 7.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7C9DE2
deuteranopia · #7495DD
tritanopia · #61A5B0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #8196df 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
#CCD4EF
#A6B4E8
#8196df
#4C6AD2
#3252C3
#2944A3
#213782
#1C2B5F
#111B3B
Base = 400Lightest = 50 · #F4F5FBDarkest = 950 · #111B3B
:root {
  --brand-50: #F4F5FB;
  --brand-100: #E9ECF7;
  --brand-200: #CCD4EF;
  --brand-300: #A6B4E8;
  --brand-400: #8196df;
  --brand-500: #4C6AD2;
  --brand-600: #3252C3;
  --brand-700: #2944A3;
  --brand-800: #213782;
  --brand-900: #1C2B5F;
  --brand-950: #111B3B;
  --brand: #8196df;
  --brand-ink: #000000;
}

Colors that work with #8196df

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#C0CAED
Hairlines and dividers
Muted text#4B5D9B
Captions on the surface
Accent#A76A25
Second voice, not a rival
Dark variant#1A2B66
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 #8196df

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#DFCA81
Analogous left#81C5DF
Analogous right#9B81DF
Split-complement 1#DF9B81
Split-complement 2#C5DF81
Triadic 1#DF8196
Triadic 2#96DF81
Tetradic#DF81C5

RGB percentages

Red50.6%
Green58.8%
Blue87.5%

CMYK percentages

Cyan42.2%
Magenta32.7%
Yellow0.0%
Key (black)12.5%

Color previews

#8196df text on a black background

contrast 7.36:1

Card sample

#8196df text on a white background

contrast 2.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8196df

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.

#8196df 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.

#8196df, answered

What color is #8196df?

#8196df is a light vivid blue, closest to Cornflower Blue (ΔE2000 5.9). It sits at 227° on the hue wheel with 60% saturation and 69% lightness, which reads as cool.

What is the RGB value of #8196df?

rgb(129, 150, 223) — 129 red, 150 green and 223 blue out of 255, or 50.6% / 58.8% / 87.5% by channel.

Is #8196df a light or a dark color?

It is a mid-tone. Relative luminance is 0.3181 and perceived brightness is 61%, so black text on it reaches 7.36:1.

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

Black. It scores 7.36:1 against #8196df, versus 2.85:1 for white — AAA at any size.

What is the complementary color of #8196df?

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

What colors go well with #8196df?

For interface work: #F4F6FA as the surface, #C0CAED for borders, #4B5D9B for secondary text, #A76A25 as an accent and #1A2B66 for hover and pressed states. For a palette, the analogous pair #81C5DF and #9B81DF stays calm, while #DFCA81 is the loudest partner.

What is #8196df in CMYK for printing?

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

Is #8196df warm or cool?

Cool — it scores 91 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8E81DF; nudged cooler, #7FA5E1.

Work with #8196df in the Color Lab