Skip to content

#31cbfd

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

RGB
49, 203, 253
HSL
195°, 98%, 59%
CMYK
81, 20, 0, 1
Luminance
0.5046

At a glance

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

Hex
#31cbfd
Hue
195°
cyan
Saturation
98%
electric
Lightness
59%
balanced
Brightness
99%
HSV value
Perceived
70%
weighted brightness
Luminance
0.5046
WCAG relative
Temperature
Cool
94/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
11.09:1
Closest name
Deep Sky Blue
ΔE2000 4.6
Where it sits
Hue195° of 360°
Saturation98%
Lightness59%
Temperature
Warm ← → Cool94% 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#31cbfd
RGBrgb(49, 203, 253)
HSLhsl(195, 98%, 59%)
CMYKcmyk(81%, 20%, 0%, 1%)
LABlab(76.3 -22.3 -35.5)
LCHlch(76.3 41.9 237.9)
OKLCHoklch(0.787 0.140 225.7)
Decimal3263485
Display P3color(display-p3 0.192 0.796 0.992)

Copy-ready code

/* CSS */
color: #31cbfd;
background-color: #31cbfd;
/* Tailwind (arbitrary) */
class="text-[#31cbfd] bg-[#31cbfd]"
/* SCSS */
$brand: #31cbfd;
/* SwiftUI */
Color(red: 0.192, green: 0.796, blue: 0.992)
/* Android */
Color.parseColor("#31cbfd")
/* Flutter */
Color(0xFF31CBFD)
/* Python / OpenCV (BGR) */
(253, 203, 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 #31cbfd · 11.09:1
Use #000000AAA at every size.
Aa
White text · 1.89:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.09:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #31cbfd as text scores 1.89:1 on white and 11.09:1 on black.

Accessibility — WCAG contrast

Aa
#31cbfd on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#31cbfd on black: 11.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B0C7FF
deuteranopia · #95B4FC
tritanopia · #00DADB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #31cbfd 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.

#F1FAFD
#E3F6FC
#C1EDFB
#90E3FE
#58D5FD
#31cbfd
#02B8F2
#0299CA
#027AA2
#065974
#043849
Base = 500Lightest = 50 · #F1FAFDDarkest = 950 · #043849
:root {
  --brand-50: #F1FAFD;
  --brand-100: #E3F6FC;
  --brand-200: #C1EDFB;
  --brand-300: #90E3FE;
  --brand-400: #58D5FD;
  --brand-500: #31cbfd;
  --brand-600: #02B8F2;
  --brand-700: #0299CA;
  --brand-800: #027AA2;
  --brand-900: #065974;
  --brand-950: #043849;
  --brand: #31cbfd;
  --brand-ink: #000000;
}

Colors that work with #31cbfd

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#F4F9FA
Tinted page background
Border#C0E2ED
Hairlines and dividers
Muted text#4B879B
Captions on the surface
Accent#FF2F30
Second voice, not a rival
Dark variant#01607E
Hover, pressed, headers
Light variant#E6F9FF
Selected rows, tints
Dark surface#142024
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 #31cbfd

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#FD6331
Analogous left#31FDC9
Analogous right#3165FD
Split-complement 1#FD3165
Split-complement 2#FDC931
Triadic 1#FD31CB
Triadic 2#CBFD31
Tetradic#C931FD

RGB percentages

Red19.2%
Green79.6%
Blue99.2%

CMYK percentages

Cyan80.6%
Magenta19.8%
Yellow0.0%
Key (black)0.8%

Color previews

#31cbfd text on a black background

contrast 11.09:1

Card sample

#31cbfd text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(49, 203, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(49, 203, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #31cbfd;
background: linear-gradient(135deg, #31cbfd, #3143FD);

Monochromatic scale

Palettes built from #31cbfd

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.

#31cbfd 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.

#31cbfd, answered

What color is #31cbfd?

#31cbfd is a balanced electric cyan, closest to Deep Sky Blue (ΔE2000 4.6). It sits at 195° on the hue wheel with 98% saturation and 59% lightness, which reads as cool.

What is the RGB value of #31cbfd?

rgb(49, 203, 253) — 49 red, 203 green and 253 blue out of 255, or 19.2% / 79.6% / 99.2% by channel.

Is #31cbfd a light or a dark color?

It is a light color. Relative luminance is 0.5046 and perceived brightness is 70%, so black text on it reaches 11.09:1.

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

Black. It scores 11.09:1 against #31cbfd, versus 1.89:1 for white — AAA at any size.

What is the complementary color of #31cbfd?

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

What colors go well with #31cbfd?

For interface work: #F4F9FA as the surface, #C0E2ED for borders, #4B879B for secondary text, #FF2F30 as an accent and #01607E for hover and pressed states. For a palette, the analogous pair #31FDC9 and #3165FD stays calm, while #FD6331 is the loudest partner.

What is #31cbfd in CMYK for printing?

cmyk(81%, 20%, 0%, 1%). 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 #31cbfd warm or cool?

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

Work with #31cbfd in the Color Lab