Skip to content

#899ff2

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

RGB
137, 159, 242
HSL
227°, 80%, 74%
CMYK
43, 34, 0, 5
Luminance
0.3653

At a glance

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

Hex
#899ff2
Hue
227°
blue
Saturation
80%
electric
Lightness
74%
light
Brightness
95%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3653
WCAG relative
Temperature
Cool
90/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
8.31:1
Closest name
Cornflower Blue
ΔE2000 6.6
Where it sits
Hue227° of 360°
Saturation80%
Lightness74%
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#899ff2
RGBrgb(137, 159, 242)
HSLhsl(227, 80%, 74%)
CMYKcmyk(43%, 34%, 0%, 5%)
LABlab(66.9 13.3 -44.0)
LCHlch(66.9 46.0 286.8)
OKLCHoklch(0.720 0.124 271.7)
Decimal9019378
Display P3color(display-p3 0.537 0.624 0.949)

Copy-ready code

/* CSS */
color: #899ff2;
background-color: #899ff2;
/* Tailwind (arbitrary) */
class="text-[#899ff2] bg-[#899ff2]"
/* SCSS */
$brand: #899ff2;
/* SwiftUI */
Color(red: 0.537, green: 0.624, blue: 0.949)
/* Android */
Color.parseColor("#899ff2")
/* Flutter */
Color(0xFF899FF2)
/* Python / OpenCV (BGR) */
(242, 159, 137)

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

Accessibility — WCAG contrast

Aa
#899ff2 on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#899ff2 on black: 8.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #81A8F5
deuteranopia · #789FF0
tritanopia · #64B0BD

Color scale — 50 to 950

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

#F3F5FC
#E6EAF9
#C6D0F5
#899ff2
#6784EE
#355BE9
#1841DD
#1437B8
#102C93
#10236A
#0A1642
Base = 300Lightest = 50 · #F3F5FCDarkest = 950 · #0A1642
:root {
  --brand-50: #F3F5FC;
  --brand-100: #E6EAF9;
  --brand-200: #C6D0F5;
  --brand-300: #899ff2;
  --brand-400: #6784EE;
  --brand-500: #355BE9;
  --brand-600: #1841DD;
  --brand-700: #1437B8;
  --brand-800: #102C93;
  --brand-900: #10236A;
  --brand-950: #0A1642;
  --brand: #899ff2;
  --brand-ink: #000000;
}

Colors that work with #899ff2

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#BC6D10
Second voice, not a rival
Dark variant#0D2273
Hover, pressed, headers
Light variant#E8ECFC
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 #899ff2

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#F2DC89
Analogous left#89D4F2
Analogous right#A789F2
Split-complement 1#F2A789
Split-complement 2#D4F289
Triadic 1#F2899F
Triadic 2#9FF289
Tetradic#F289D4

RGB percentages

Red53.7%
Green62.4%
Blue94.9%

CMYK percentages

Cyan43.4%
Magenta34.3%
Yellow0.0%
Key (black)5.1%

Color previews

#899ff2 text on a black background

contrast 8.31:1

Card sample

#899ff2 text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #899ff2;
Background color
Panel with #899ff2 background
background-color: #899ff2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #899ff2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(137, 159, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(137, 159, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #899ff2;
background: linear-gradient(135deg, #899ff2, #B989F2);

Monochromatic scale

Palettes built from #899ff2

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.

#899ff2 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#899ff2, answered

What color is #899ff2?

#899ff2 is a light electric blue, closest to Cornflower Blue (ΔE2000 6.6). It sits at 227° on the hue wheel with 80% saturation and 74% lightness, which reads as cool.

What is the RGB value of #899ff2?

rgb(137, 159, 242) — 137 red, 159 green and 242 blue out of 255, or 53.7% / 62.4% / 94.9% by channel.

Is #899ff2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3653 and perceived brightness is 65%, so black text on it reaches 8.31:1.

Should I use black or white text on #899ff2?

Black. It scores 8.31:1 against #899ff2, versus 2.53:1 for white — AAA at any size.

What is the complementary color of #899ff2?

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

What colors go well with #899ff2?

For interface work: #F4F6FA as the surface, #C0C9ED for borders, #4B5B9B for secondary text, #BC6D10 as an accent and #0D2273 for hover and pressed states. For a palette, the analogous pair #89D4F2 and #A789F2 stays calm, while #F2DC89 is the loudest partner.

What is #899ff2 in CMYK for printing?

cmyk(43%, 34%, 0%, 5%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #899ff2 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 #9989F2; nudged cooler, #88B1F3.

Work with #899ff2 in the Color Lab