Skip to content

#5a92fd

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

RGB
90, 146, 253
HSL
219°, 98%, 67%
CMYK
64, 42, 0, 1
Luminance
0.2982

At a glance

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

Hex
#5a92fd
Hue
219°
blue
Saturation
98%
electric
Lightness
67%
light
Brightness
99%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2982
WCAG relative
Temperature
Cool
95/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.96:1
Closest name
Cornflower Blue
ΔE2000 1.8
Where it sits
Hue219° of 360°
Saturation98%
Lightness67%
Temperature
Warm ← → Cool95% 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#5a92fd
RGBrgb(90, 146, 253)
HSLhsl(219, 98%, 67%)
CMYKcmyk(64%, 42%, 0%, 1%)
LABlab(61.5 14.6 -58.8)
LCHlch(61.5 60.6 283.9)
OKLCHoklch(0.673 0.169 262.0)
Decimal5935869
Display P3color(display-p3 0.353 0.573 0.992)

Copy-ready code

/* CSS */
color: #5a92fd;
background-color: #5a92fd;
/* Tailwind (arbitrary) */
class="text-[#5a92fd] bg-[#5a92fd]"
/* SCSS */
$brand: #5a92fd;
/* SwiftUI */
Color(red: 0.353, green: 0.573, blue: 0.992)
/* Android */
Color.parseColor("#5a92fd")
/* Flutter */
Color(0xFF5A92FD)
/* Python / OpenCV (BGR) */
(253, 146, 90)

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

Accessibility — WCAG contrast

Aa
#5a92fd on white: 3.02:1
AA ✗ fail · AA-large · AAA
Aa
#5a92fd on black: 6.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #609DFF
deuteranopia · #468EFB
tritanopia · #00AABB

Color scale — 50 to 950

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

#F1F5FD
#E4ECFC
#C1D5FB
#90B6FE
#5a92fd
#216CFC
#0355F2
#0247CA
#0239A1
#062C74
#041B49
Base = 400Lightest = 50 · #F1F5FDDarkest = 950 · #041B49
:root {
  --brand-50: #F1F5FD;
  --brand-100: #E4ECFC;
  --brand-200: #C1D5FB;
  --brand-300: #90B6FE;
  --brand-400: #5a92fd;
  --brand-500: #216CFC;
  --brand-600: #0355F2;
  --brand-700: #0247CA;
  --brand-800: #0239A1;
  --brand-900: #062C74;
  --brand-950: #041B49;
  --brand: #5a92fd;
  --brand-ink: #000000;
}

Colors that work with #5a92fd

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#C0CFED
Hairlines and dividers
Muted text#4B669B
Captions on the surface
Accent#CC5300
Second voice, not a rival
Dark variant#022C7E
Hover, pressed, headers
Light variant#E6EEFF
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 #5a92fd

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
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • 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#FDC55A
Analogous left#5AE3FD
Analogous right#745AFD
Split-complement 1#FD745A
Split-complement 2#E3FD5A
Triadic 1#FD5A92
Triadic 2#92FD5A
Tetradic#FD5AE3

RGB percentages

Red35.3%
Green57.3%
Blue99.2%

CMYK percentages

Cyan64.4%
Magenta42.3%
Yellow0.0%
Key (black)0.8%

Color previews

#5a92fd text on a black background

contrast 6.96:1

Card sample

#5a92fd text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(90, 146, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(90, 146, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5a92fd;
background: linear-gradient(135deg, #5a92fd, #8F5AFD);

Monochromatic scale

Palettes built from #5a92fd

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.

#5a92fd 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#5a92fd, answered

What color is #5a92fd?

#5a92fd is a light electric blue, closest to Cornflower Blue (ΔE2000 1.8). It sits at 219° on the hue wheel with 98% saturation and 67% lightness, which reads as cool.

What is the RGB value of #5a92fd?

rgb(90, 146, 253) — 90 red, 146 green and 253 blue out of 255, or 35.3% / 57.3% / 99.2% by channel.

Is #5a92fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.2982 and perceived brightness is 58%, so black text on it reaches 6.96:1.

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

Black. It scores 6.96:1 against #5a92fd, versus 3.02:1 for white — AA at any size.

What is the complementary color of #5a92fd?

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

What colors go well with #5a92fd?

For interface work: #F4F6FA as the surface, #C0CFED for borders, #4B669B for secondary text, #CC5300 as an accent and #022C7E for hover and pressed states. For a palette, the analogous pair #5AE3FD and #745AFD stays calm, while #FDC55A is the loudest partner.

What is #5a92fd in CMYK for printing?

cmyk(64%, 42%, 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 #5a92fd warm or cool?

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

Work with #5a92fd in the Color Lab