Skip to content

#2db7ff

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

RGB
45, 183, 255
HSL
201°, 100%, 59%
CMYK
82, 28, 0, 0
Luminance
0.4164

At a glance

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

Hex
#2db7ff
Hue
201°
blue
Saturation
100%
electric
Lightness
59%
balanced
Brightness
100%
HSV value
Perceived
65%
weighted brightness
Luminance
0.4164
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
9.33:1
Closest name
Deep Sky Blue
ΔE2000 3.8
Where it sits
Hue201° of 360°
Saturation100%
Lightness59%
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#2db7ff
RGBrgb(45, 183, 255)
HSLhsl(201, 100%, 59%)
CMYKcmyk(82%, 28%, 0%, 0%)
LABlab(70.6 -11.4 -45.5)
LCHlch(70.6 46.9 255.9)
OKLCHoklch(0.741 0.152 238.0)
Decimal2996223
Display P3color(display-p3 0.176 0.718 1.000)

Copy-ready code

/* CSS */
color: #2db7ff;
background-color: #2db7ff;
/* Tailwind (arbitrary) */
class="text-[#2db7ff] bg-[#2db7ff]"
/* SCSS */
$brand: #2db7ff;
/* SwiftUI */
Color(red: 0.176, green: 0.718, blue: 1.000)
/* Android */
Color.parseColor("#2db7ff")
/* Flutter */
Color(0xFF2DB7FF)
/* Python / OpenCV (BGR) */
(255, 183, 45)

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

Accessibility — WCAG contrast

Aa
#2db7ff on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#2db7ff on black: 9.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #94B7FF
deuteranopia · #78A4FE
tritanopia · #00C9D0

Color scale — 50 to 950

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

#F1F9FE
#E3F4FC
#C0E7FC
#8FD8FF
#57C5FF
#2db7ff
#00A1F5
#0086CC
#006BA3
#054F76
#033149
Base = 500Lightest = 50 · #F1F9FEDarkest = 950 · #033149
:root {
  --brand-50: #F1F9FE;
  --brand-100: #E3F4FC;
  --brand-200: #C0E7FC;
  --brand-300: #8FD8FF;
  --brand-400: #57C5FF;
  --brand-500: #2db7ff;
  --brand-600: #00A1F5;
  --brand-700: #0086CC;
  --brand-800: #006BA3;
  --brand-900: #054F76;
  --brand-950: #033149;
  --brand: #2db7ff;
  --brand-ink: #000000;
}

Colors that work with #2db7ff

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#C0DDED
Hairlines and dividers
Muted text#4B7F9B
Captions on the surface
Accent#FF402D
Second voice, not a rival
Dark variant#005480
Hover, pressed, headers
Light variant#E5F6FF
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 #2db7ff

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
  • 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#FF752D
Analogous left#2DFFDE
Analogous right#2D4EFF
Split-complement 1#FF2D4E
Split-complement 2#FFDE2D
Triadic 1#FF2DB7
Triadic 2#B7FF2D
Tetradic#DE2DFF

RGB percentages

Red17.6%
Green71.8%
Blue100.0%

CMYK percentages

Cyan82.4%
Magenta28.2%
Yellow0.0%
Key (black)0.0%

Color previews

#2db7ff text on a black background

contrast 9.33:1

Card sample

#2db7ff text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2db7ff;
Background color
Panel with #2db7ff background
background-color: #2db7ff;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 183, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 183, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2db7ff;
background: linear-gradient(135deg, #2db7ff, #2F2DFF);

Monochromatic scale

Palettes built from #2db7ff

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.

#2db7ff 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
ButtonsLinksFocus statesCharts
Print note

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

#2db7ff, answered

What color is #2db7ff?

#2db7ff is a balanced electric blue, closest to Deep Sky Blue (ΔE2000 3.8). It sits at 201° on the hue wheel with 100% saturation and 59% lightness, which reads as cool.

What is the RGB value of #2db7ff?

rgb(45, 183, 255) — 45 red, 183 green and 255 blue out of 255, or 17.6% / 71.8% / 100% by channel.

Is #2db7ff a light or a dark color?

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

Should I use black or white text on #2db7ff?

Black. It scores 9.33:1 against #2db7ff, versus 2.25:1 for white — AAA at any size.

What is the complementary color of #2db7ff?

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

What colors go well with #2db7ff?

For interface work: #F4F8FA as the surface, #C0DDED for borders, #4B7F9B for secondary text, #FF402D as an accent and #005480 for hover and pressed states. For a palette, the analogous pair #2DFFDE and #2D4EFF stays calm, while #FF752D is the loudest partner.

What is #2db7ff in CMYK for printing?

cmyk(82%, 28%, 0%, 0%). 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 #2db7ff 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 #2DFFFA; nudged cooler, #1399FF.

Work with #2db7ff in the Color Lab