Skip to content

#5d83eb

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

RGB
93, 131, 235
HSL
224°, 78%, 64%
CMYK
60, 44, 0, 8
Luminance
0.2456

At a glance

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

Hex
#5d83eb
Hue
224°
blue
Saturation
78%
electric
Lightness
64%
balanced
Brightness
92%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2456
WCAG relative
Temperature
Cool
92/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.91:1
Closest name
Cornflower Blue
ΔE2000 5.8
Where it sits
Hue224° of 360°
Saturation78%
Lightness64%
Temperature
Warm ← → Cool92% 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#5d83eb
RGBrgb(93, 131, 235)
HSLhsl(224, 78%, 64%)
CMYKcmyk(60%, 44%, 0%, 8%)
LABlab(56.6 18.1 -56.6)
LCHlch(56.6 59.4 287.7)
OKLCHoklch(0.633 0.162 266.7)
Decimal6128619
Display P3color(display-p3 0.365 0.514 0.922)

Copy-ready code

/* CSS */
color: #5d83eb;
background-color: #5d83eb;
/* Tailwind (arbitrary) */
class="text-[#5d83eb] bg-[#5d83eb]"
/* SCSS */
$brand: #5d83eb;
/* SwiftUI */
Color(red: 0.365, green: 0.514, blue: 0.922)
/* Android */
Color.parseColor("#5d83eb")
/* Flutter */
Color(0xFF5D83EB)
/* Python / OpenCV (BGR) */
(235, 131, 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 #5d83eb · 5.91:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.55:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.91:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #5d83eb as text scores 3.55:1 on white and 5.91:1 on black.

Accessibility — WCAG contrast

Aa
#5d83eb on white: 3.55:1
AA ✗ fail · AA-large · AAA
Aa
#5d83eb on black: 5.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #528FEF
deuteranopia · #3D82E9
tritanopia · #009AAC

Color scale — 50 to 950

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

#F3F5FC
#E6EBF9
#C7D3F5
#9BB3F3
#5d83eb
#3766E6
#1B4EDA
#1641B6
#123491
#112969
#0B1A42
Base = 400Lightest = 50 · #F3F5FCDarkest = 950 · #0B1A42
:root {
  --brand-50: #F3F5FC;
  --brand-100: #E6EBF9;
  --brand-200: #C7D3F5;
  --brand-300: #9BB3F3;
  --brand-400: #5d83eb;
  --brand-500: #3766E6;
  --brand-600: #1B4EDA;
  --brand-700: #1641B6;
  --brand-800: #123491;
  --brand-900: #112969;
  --brand-950: #0B1A42;
  --brand: #5d83eb;
  --brand-ink: #000000;
}

Colors that work with #5d83eb

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#C0CCED
Hairlines and dividers
Muted text#4B609B
Captions on the surface
Accent#BA6312
Second voice, not a rival
Dark variant#0E2971
Hover, pressed, headers
Light variant#E8EEFC
Selected rows, tints
Dark surface#141824
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 #5d83eb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • 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
  • Small text on white — under 4.5:1
  • 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#EBC55D
Analogous left#5DCAEB
Analogous right#7E5DEB
Split-complement 1#EB7E5D
Split-complement 2#CAEB5D
Triadic 1#EB5D83
Triadic 2#83EB5D
Tetradic#EB5DCA

RGB percentages

Red36.5%
Green51.4%
Blue92.2%

CMYK percentages

Cyan60.4%
Magenta44.3%
Yellow0.0%
Key (black)7.8%

Color previews

#5d83eb text on a black background

contrast 5.91:1

Card sample

#5d83eb text on a white background

contrast 3.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5d83eb

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.

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

#5d83eb, answered

What color is #5d83eb?

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

What is the RGB value of #5d83eb?

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

Is #5d83eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2456 and perceived brightness is 54%, so black text on it reaches 5.91:1.

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

Black. It scores 5.91:1 against #5d83eb, versus 3.55:1 for white — AA at any size.

What is the complementary color of #5d83eb?

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

What colors go well with #5d83eb?

For interface work: #F4F6FA as the surface, #C0CCED for borders, #4B609B for secondary text, #BA6312 as an accent and #0E2971 for hover and pressed states. For a palette, the analogous pair #5DCAEB and #7E5DEB stays calm, while #EBC55D is the loudest partner.

What is #5d83eb in CMYK for printing?

cmyk(60%, 44%, 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 #5d83eb warm or cool?

Cool — it scores 92 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6B5DEB; nudged cooler, #5B93ED.

Work with #5d83eb in the Color Lab