Skip to content

#5380eb

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

RGB
83, 128, 235
HSL
222°, 79%, 62%
CMYK
65, 46, 0, 8
Luminance
0.2328

At a glance

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

Hex
#5380eb
Hue
222°
blue
Saturation
79%
electric
Lightness
62%
balanced
Brightness
92%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2328
WCAG relative
Temperature
Cool
93/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.66:1
Closest name
Cornflower Blue
ΔE2000 6.6
Where it sits
Hue222° of 360°
Saturation79%
Lightness62%
Temperature
Warm ← → Cool93% 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#5380eb
RGBrgb(83, 128, 235)
HSLhsl(222, 79%, 62%)
CMYKcmyk(65%, 46%, 0%, 8%)
LABlab(55.4 18.2 -58.7)
LCHlch(55.4 61.5 287.2)
OKLCHoklch(0.621 0.169 264.8)
Decimal5472491
Display P3color(display-p3 0.325 0.502 0.922)

Copy-ready code

/* CSS */
color: #5380eb;
background-color: #5380eb;
/* Tailwind (arbitrary) */
class="text-[#5380eb] bg-[#5380eb]"
/* SCSS */
$brand: #5380eb;
/* SwiftUI */
Color(red: 0.325, green: 0.502, blue: 0.922)
/* Android */
Color.parseColor("#5380eb")
/* Flutter */
Color(0xFF5380EB)
/* Python / OpenCV (BGR) */
(235, 128, 83)

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 #5380eb · 5.66:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.71:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.66:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #5380eb as text scores 3.71:1 on white and 5.66:1 on black.

Accessibility — WCAG contrast

Aa
#5380eb on white: 3.71:1
AA ✗ fail · AA-large · AAA
Aa
#5380eb on black: 5.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4B8CEF
deuteranopia · #2F7EE9
tritanopia · #0099AA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #5380eb 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
#E6ECF9
#C7D4F5
#9AB5F3
#5380eb
#366BE8
#1953DB
#1545B7
#113792
#112B6A
#0A1B42
Base = 400Lightest = 50 · #F3F5FCDarkest = 950 · #0A1B42
:root {
  --brand-50: #F3F5FC;
  --brand-100: #E6ECF9;
  --brand-200: #C7D4F5;
  --brand-300: #9AB5F3;
  --brand-400: #5380eb;
  --brand-500: #366BE8;
  --brand-600: #1953DB;
  --brand-700: #1545B7;
  --brand-800: #113792;
  --brand-900: #112B6A;
  --brand-950: #0A1B42;
  --brand: #5380eb;
  --brand-ink: #000000;
}

Colors that work with #5380eb

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#C0CDED
Hairlines and dividers
Muted text#4B629B
Captions on the surface
Accent#BB5F11
Second voice, not a rival
Dark variant#0D2B72
Hover, pressed, headers
Light variant#E8EEFC
Selected rows, tints
Dark surface#141924
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 #5380eb

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#EBBE53
Analogous left#53CCEB
Analogous right#7253EB
Split-complement 1#EB7253
Split-complement 2#CCEB53
Triadic 1#EB5380
Triadic 2#80EB53
Tetradic#EB53CC

RGB percentages

Red32.5%
Green50.2%
Blue92.2%

CMYK percentages

Cyan64.7%
Magenta45.5%
Yellow0.0%
Key (black)7.8%

Color previews

#5380eb text on a black background

contrast 5.66:1

Card sample

#5380eb text on a white background

contrast 3.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5380eb;
Background color
Panel with #5380eb background
background-color: #5380eb;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(83, 128, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(83, 128, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5380eb;
background: linear-gradient(135deg, #5380eb, #8B53EB);

Monochromatic scale

Palettes built from #5380eb

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.

#5380eb 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.

#5380eb, answered

What color is #5380eb?

#5380eb is a balanced electric blue, closest to Cornflower Blue (ΔE2000 6.6). It sits at 222° on the hue wheel with 79% saturation and 62% lightness, which reads as cool.

What is the RGB value of #5380eb?

rgb(83, 128, 235) — 83 red, 128 green and 235 blue out of 255, or 32.5% / 50.2% / 92.2% by channel.

Is #5380eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2328 and perceived brightness is 53%, so black text on it reaches 5.66:1.

Should I use black or white text on #5380eb?

Black. It scores 5.66:1 against #5380eb, versus 3.71:1 for white — AA at any size.

What is the complementary color of #5380eb?

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

What colors go well with #5380eb?

For interface work: #F4F6FA as the surface, #C0CDED for borders, #4B629B for secondary text, #BB5F11 as an accent and #0D2B72 for hover and pressed states. For a palette, the analogous pair #53CCEB and #7253EB stays calm, while #EBBE53 is the loudest partner.

What is #5380eb in CMYK for printing?

cmyk(65%, 46%, 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 #5380eb warm or cool?

Cool — it scores 93 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5E53EB; nudged cooler, #3A80EB.

Work with #5380eb in the Color Lab