Skip to content

#31ade8

a balanced, electric cyan · cool · closest name: Deep Sky Blue

RGB
49, 173, 232
HSL
199°, 80%, 55%
CMYK
79, 25, 0, 9
Luminance
0.3637

At a glance

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

Hex
#31ade8
Hue
199°
cyan
Saturation
80%
electric
Lightness
55%
balanced
Brightness
91%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3637
WCAG relative
Temperature
Cool
96/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
8.27:1
Closest name
Deep Sky Blue
ΔE2000 5.1
Where it sits
Hue199° of 360°
Saturation80%
Lightness55%
Temperature
Warm ← → Cool96% 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#31ade8
RGBrgb(49, 173, 232)
HSLhsl(199, 80%, 55%)
CMYKcmyk(79%, 25%, 0%, 9%)
LABlab(66.8 -13.6 -39.0)
LCHlch(66.8 41.3 250.8)
OKLCHoklch(0.708 0.135 234.7)
Decimal3255784
Display P3color(display-p3 0.192 0.678 0.910)

Copy-ready code

/* CSS */
color: #31ade8;
background-color: #31ade8;
/* Tailwind (arbitrary) */
class="text-[#31ade8] bg-[#31ade8]"
/* SCSS */
$brand: #31ade8;
/* SwiftUI */
Color(red: 0.192, green: 0.678, blue: 0.910)
/* Android */
Color.parseColor("#31ade8")
/* Flutter */
Color(0xFF31ADE8)
/* Python / OpenCV (BGR) */
(232, 173, 49)

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

Accessibility — WCAG contrast

Aa
#31ade8 on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#31ade8 on black: 8.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #90ACEB
deuteranopia · #789BE7
tritanopia · #00BCC1

Color scale — 50 to 950

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

#F3F9FC
#E6F3F9
#C7E6F5
#9AD7F4
#68C3EE
#31ade8
#199DDC
#1583B7
#106993
#104D6A
#0A3042
Base = 500Lightest = 50 · #F3F9FCDarkest = 950 · #0A3042
:root {
  --brand-50: #F3F9FC;
  --brand-100: #E6F3F9;
  --brand-200: #C7E6F5;
  --brand-300: #9AD7F4;
  --brand-400: #68C3EE;
  --brand-500: #31ade8;
  --brand-600: #199DDC;
  --brand-700: #1583B7;
  --brand-800: #106993;
  --brand-900: #104D6A;
  --brand-950: #0A3042;
  --brand: #31ade8;
  --brand-ink: #000000;
}

Colors that work with #31ade8

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#F4F8FA
Tinted page background
Border#C0DEED
Hairlines and dividers
Muted text#4B819B
Captions on the surface
Accent#ED3A2C
Second voice, not a rival
Dark variant#0D5273
Hover, pressed, headers
Light variant#E8F6FC
Selected rows, tints
Dark surface#141F24
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 #31ade8

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
  • 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
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#E86C31
Analogous left#31E8C7
Analogous right#3152E8
Split-complement 1#E83152
Split-complement 2#E8C731
Triadic 1#E831AD
Triadic 2#ADE831
Tetradic#C731E8

RGB percentages

Red19.2%
Green67.8%
Blue91.0%

CMYK percentages

Cyan78.9%
Magenta25.4%
Yellow0.0%
Key (black)9.0%

Color previews

#31ade8 text on a black background

contrast 8.27:1

Card sample

#31ade8 text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #31ade8;
Background color
Panel with #31ade8 background
background-color: #31ade8;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #31ade8;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(49, 173, 232, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(49, 173, 232, 0.45);
Border & gradient
Gradient panel
border: 3px solid #31ade8;
background: linear-gradient(135deg, #31ade8, #3133E8);

Monochromatic scale

Palettes built from #31ade8

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.

#31ade8 in the real world

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

Industries
TechnologyTravelHealthcareMedia
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#31ade8, answered

What color is #31ade8?

#31ade8 is a balanced electric cyan, closest to Deep Sky Blue (ΔE2000 5.1). It sits at 199° on the hue wheel with 80% saturation and 55% lightness, which reads as cool.

What is the RGB value of #31ade8?

rgb(49, 173, 232) — 49 red, 173 green and 232 blue out of 255, or 19.2% / 67.8% / 91% by channel.

Is #31ade8 a light or a dark color?

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

Should I use black or white text on #31ade8?

Black. It scores 8.27:1 against #31ade8, versus 2.54:1 for white — AAA at any size.

What is the complementary color of #31ade8?

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

What colors go well with #31ade8?

For interface work: #F4F8FA as the surface, #C0DEED for borders, #4B819B for secondary text, #ED3A2C as an accent and #0D5273 for hover and pressed states. For a palette, the analogous pair #31E8C7 and #3152E8 stays calm, while #E86C31 is the loudest partner.

What is #31ade8 in CMYK for printing?

cmyk(79%, 25%, 0%, 9%). 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 #31ade8 warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #31E8E0; nudged cooler, #2F9AEA.

Work with #31ade8 in the Color Lab