Skip to content

#025cfd

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

RGB
2, 92, 253
HSL
219°, 98%, 50%
CMYK
99, 64, 0, 1
Luminance
0.1476

At a glance

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

Hex
#025cfd
Hue
219°
blue
Saturation
98%
electric
Lightness
50%
balanced
Brightness
99%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1476
WCAG relative
Temperature
Cool
95/100 cool
Color family
Blue
Tone
Electric
Best ink
White
5.31:1
Closest name
Royal Blue
ΔE2000 4.9
Where it sits
Hue219° of 360°
Saturation98%
Lightness50%
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#025cfd
RGBrgb(2, 92, 253)
HSLhsl(219, 98%, 50%)
CMYKcmyk(99%, 64%, 0%, 1%)
LABlab(45.3 40.8 -85.2)
LCHlch(45.3 94.4 295.6)
OKLCHoklch(0.544 0.249 262.0)
Decimal154877
Display P3color(display-p3 0.008 0.361 0.992)

Copy-ready code

/* CSS */
color: #025cfd;
background-color: #025cfd;
/* Tailwind (arbitrary) */
class="text-[#025cfd] bg-[#025cfd]"
/* SCSS */
$brand: #025cfd;
/* SwiftUI */
Color(red: 0.008, green: 0.361, blue: 0.992)
/* Android */
Color.parseColor("#025cfd")
/* Flutter */
Color(0xFF025CFD)
/* Python / OpenCV (BGR) */
(253, 92, 2)

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#ffffff on #025cfd · 5.31:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.31:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.95:1
AA fail · AA large pass · AAA fail
Reading the other direction: #025cfd as text scores 5.31:1 on white and 3.95:1 on black.

Accessibility — WCAG contrast

Aa
#025cfd on white: 5.31:1
AA ✓ pass · AA-large · AAA
Aa
#025cfd on black: 3.95:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0076FF
deuteranopia · #0061FA
tritanopia · #0088A4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #025cfd is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F1F6FE
#E3ECFC
#C1D6FB
#90B7FE
#5893FE
#2070FD
#025cfd
#024ACA
#013BA2
#062E75
#041C49
Base = 600Lightest = 50 · #F1F6FEDarkest = 950 · #041C49
:root {
  --brand-50: #F1F6FE;
  --brand-100: #E3ECFC;
  --brand-200: #C1D6FB;
  --brand-300: #90B7FE;
  --brand-400: #5893FE;
  --brand-500: #2070FD;
  --brand-600: #025cfd;
  --brand-700: #024ACA;
  --brand-800: #013BA2;
  --brand-900: #062E75;
  --brand-950: #041C49;
  --brand: #025cfd;
  --brand-ink: #ffffff;
}

Colors that work with #025cfd

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F6FA
Tinted page background
Border#C0D0ED
Hairlines and dividers
Muted text#4B679B
Captions on the surface
Accent#CC5000
Second voice, not a rival
Dark variant#012E7E
Hover, pressed, headers
Light variant#E6EFFF
Selected rows, tints
Dark surface#141A24
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 #025cfd

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • 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#FDA302
Analogous left#02D9FD
Analogous right#2602FD
Split-complement 1#FD2602
Split-complement 2#D9FD02
Triadic 1#FD025C
Triadic 2#5CFD02
Tetradic#FD02D9

RGB percentages

Red0.8%
Green36.1%
Blue99.2%

CMYK percentages

Cyan99.2%
Magenta63.6%
Yellow0.0%
Key (black)0.8%

Color previews

#025cfd text on a black background

contrast 3.95:1

Card sample

#025cfd text on a white background

contrast 5.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #025cfd;
Background color
Panel with #025cfd background
background-color: #025cfd;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(2, 92, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(2, 92, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #025cfd;
background: linear-gradient(135deg, #025cfd, #4F02FD);

Monochromatic scale

Palettes built from #025cfd

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.

#025cfd 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.

#025cfd, answered

What color is #025cfd?

#025cfd is a balanced electric blue, closest to Royal Blue (ΔE2000 4.9). It sits at 219° on the hue wheel with 98% saturation and 50% lightness, which reads as cool.

What is the RGB value of #025cfd?

rgb(2, 92, 253) — 2 red, 92 green and 253 blue out of 255, or 0.8% / 36.1% / 99.2% by channel.

Is #025cfd a light or a dark color?

It is a dark color. Relative luminance is 0.1476 and perceived brightness is 43%, so white text on it reaches 5.31:1.

Should I use black or white text on #025cfd?

White. It scores 5.31:1 against #025cfd, versus 3.95:1 for black — AA at any size.

What is the complementary color of #025cfd?

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

What colors go well with #025cfd?

For interface work: #F4F6FA as the surface, #C0D0ED for borders, #4B679B for secondary text, #CC5000 as an accent and #012E7E for hover and pressed states. For a palette, the analogous pair #02D9FD and #2602FD stays calm, while #FDA302 is the loudest partner.

What is #025cfd in CMYK for printing?

cmyk(99%, 64%, 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 #025cfd 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 #0402FD; nudged cooler, #005EE6.

Work with #025cfd in the Color Lab