Skip to content

#5da3eb

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

RGB
93, 163, 235
HSL
210°, 78%, 64%
CMYK
60, 31, 0, 8
Luminance
0.3452

At a glance

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

Hex
#5da3eb
Hue
210°
blue
Saturation
78%
electric
Lightness
64%
balanced
Brightness
92%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3452
WCAG relative
Temperature
Cool
100/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
7.90:1
Closest name
Cornflower Blue
ΔE2000 5.6
Where it sits
Hue210° of 360°
Saturation78%
Lightness64%
Temperature
Warm ← → Cool100% 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#5da3eb
RGBrgb(93, 163, 235)
HSLhsl(210, 78%, 64%)
CMYKcmyk(60%, 31%, 0%, 8%)
LABlab(65.4 -0.7 -42.8)
LCHlch(65.4 42.8 269.0)
OKLCHoklch(0.700 0.128 250.7)
Decimal6136811
Display P3color(display-p3 0.365 0.639 0.922)

Copy-ready code

/* CSS */
color: #5da3eb;
background-color: #5da3eb;
/* Tailwind (arbitrary) */
class="text-[#5da3eb] bg-[#5da3eb]"
/* SCSS */
$brand: #5da3eb;
/* SwiftUI */
Color(red: 0.365, green: 0.639, blue: 0.922)
/* Android */
Color.parseColor("#5da3eb")
/* Flutter */
Color(0xFF5DA3EB)
/* Python / OpenCV (BGR) */
(235, 163, 93)

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

Accessibility — WCAG contrast

Aa
#5da3eb on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#5da3eb on black: 7.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #84A6EE
deuteranopia · #7199EA
tritanopia · #00B4BD

Color scale — 50 to 950

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

#F3F7FC
#E6F0F9
#C7DEF5
#9BC6F3
#5da3eb
#378EE6
#1B79DA
#1665B6
#125191
#113D69
#0B2642
Base = 400Lightest = 50 · #F3F7FCDarkest = 950 · #0B2642
:root {
  --brand-50: #F3F7FC;
  --brand-100: #E6F0F9;
  --brand-200: #C7DEF5;
  --brand-300: #9BC6F3;
  --brand-400: #5da3eb;
  --brand-500: #378EE6;
  --brand-600: #1B79DA;
  --brand-700: #1665B6;
  --brand-800: #125191;
  --brand-900: #113D69;
  --brand-950: #0B2642;
  --brand: #5da3eb;
  --brand-ink: #000000;
}

Colors that work with #5da3eb

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#F4F7FA
Tinted page background
Border#C0D6ED
Hairlines and dividers
Muted text#4B729B
Captions on the surface
Accent#BA3E12
Second voice, not a rival
Dark variant#0E3F71
Hover, pressed, headers
Light variant#E8F2FC
Selected rows, tints
Dark surface#141C24
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 #5da3eb

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#EBA55D
Analogous left#5DEAEB
Analogous right#5E5DEB
Split-complement 1#EB5E5D
Split-complement 2#EAEB5D
Triadic 1#EB5DA3
Triadic 2#A3EB5D
Tetradic#EB5DEA

RGB percentages

Red36.5%
Green63.9%
Blue92.2%

CMYK percentages

Cyan60.4%
Magenta30.6%
Yellow0.0%
Key (black)7.8%

Color previews

#5da3eb text on a black background

contrast 7.90:1

Card sample

#5da3eb text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5da3eb;
Background color
Panel with #5da3eb background
background-color: #5da3eb;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(93, 163, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(93, 163, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5da3eb;
background: linear-gradient(135deg, #5da3eb, #765DEB);

Monochromatic scale

Palettes built from #5da3eb

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.

#5da3eb 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.

#5da3eb, answered

What color is #5da3eb?

#5da3eb is a balanced electric blue, closest to Cornflower Blue (ΔE2000 5.6). It sits at 210° on the hue wheel with 78% saturation and 64% lightness, which reads as cool.

What is the RGB value of #5da3eb?

rgb(93, 163, 235) — 93 red, 163 green and 235 blue out of 255, or 36.5% / 63.9% / 92.2% by channel.

Is #5da3eb a light or a dark color?

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

Should I use black or white text on #5da3eb?

Black. It scores 7.90:1 against #5da3eb, versus 2.66:1 for white — AAA at any size.

What is the complementary color of #5da3eb?

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

What colors go well with #5da3eb?

For interface work: #F4F7FA as the surface, #C0D6ED for borders, #4B729B for secondary text, #BA3E12 as an accent and #0E3F71 for hover and pressed states. For a palette, the analogous pair #5DEAEB and #5E5DEB stays calm, while #EBA55D is the loudest partner.

What is #5da3eb in CMYK for printing?

cmyk(60%, 31%, 0%, 8%). 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 #5da3eb warm or cool?

Cool — it scores 100 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5D6FEB; nudged cooler, #4494EA.

Work with #5da3eb in the Color Lab