Skip to content

#025eb7

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

RGB
2, 94, 183
HSL
210°, 98%, 36%
CMYK
99, 49, 0, 28
Luminance
0.1144

At a glance

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

Hex
#025eb7
Hue
210°
blue
Saturation
98%
electric
Lightness
36%
dark
Brightness
72%
HSV value
Perceived
37%
weighted brightness
Luminance
0.1144
WCAG relative
Temperature
Cool
100/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.39:1
Closest name
Royal Blue
ΔE2000 8.7
Where it sits
Hue210° of 360°
Saturation98%
Lightness36%
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#025eb7
RGBrgb(2, 94, 183)
HSLhsl(210, 98%, 36%)
CMYKcmyk(99%, 49%, 0%, 28%)
LABlab(40.3 12.1 -53.4)
LCHlch(40.3 54.7 282.7)
OKLCHoklch(0.489 0.159 254.9)
Decimal155319
Display P3color(display-p3 0.008 0.369 0.718)

Copy-ready code

/* CSS */
color: #025eb7;
background-color: #025eb7;
/* Tailwind (arbitrary) */
class="text-[#025eb7] bg-[#025eb7]"
/* SCSS */
$brand: #025eb7;
/* SwiftUI */
Color(red: 0.008, green: 0.369, blue: 0.718)
/* Android */
Color.parseColor("#025eb7")
/* Flutter */
Color(0xFF025EB7)
/* Python / OpenCV (BGR) */
(183, 94, 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 #025eb7 · 6.39:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.39:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.29:1
AA fail · AA large pass · AAA fail
Reading the other direction: #025eb7 as text scores 6.39:1 on white and 3.29:1 on black.

Accessibility — WCAG contrast

Aa
#025eb7 on white: 6.39:1
AA ✓ pass · AA-large · AAA
Aa
#025eb7 on black: 3.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2867BA
deuteranopia · #0058B5
tritanopia · #007481

Color scale — 50 to 950

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

#F1F7FD
#E3F0FC
#C1DEFB
#90C8FE
#59ACFD
#2191FD
#037CF2
#025eb7
#0253A1
#063E74
#042749
Base = 700Lightest = 50 · #F1F7FDDarkest = 950 · #042749
:root {
  --brand-50: #F1F7FD;
  --brand-100: #E3F0FC;
  --brand-200: #C1DEFB;
  --brand-300: #90C8FE;
  --brand-400: #59ACFD;
  --brand-500: #2191FD;
  --brand-600: #037CF2;
  --brand-700: #025eb7;
  --brand-800: #0253A1;
  --brand-900: #063E74;
  --brand-950: #042749;
  --brand: #025eb7;
  --brand-ink: #ffffff;
}

Colors that work with #025eb7

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#F4F7FA
Tinted page background
Border#C0D7ED
Hairlines and dividers
Muted text#4B739B
Captions on the surface
Accent#B92D00
Second voice, not a rival
Dark variant#01417E
Hover, pressed, headers
Light variant#E6F2FF
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 #025eb7

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black 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#B75B02
Analogous left#02B7B6
Analogous right#0204B7
Split-complement 1#B70204
Split-complement 2#B7B602
Triadic 1#B7025E
Triadic 2#5EB702
Tetradic#B602B7

RGB percentages

Red0.8%
Green36.9%
Blue71.8%

CMYK percentages

Cyan98.9%
Magenta48.6%
Yellow0.0%
Key (black)28.2%

Color previews

#025eb7 text on a black background

contrast 3.29:1

Card sample

#025eb7 text on a white background

contrast 6.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(2, 94, 183, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(2, 94, 183, 0.45);
Border & gradient
Gradient panel
border: 3px solid #025eb7;
background: linear-gradient(135deg, #025eb7, #1F02B7);

Monochromatic scale

Palettes built from #025eb7

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.

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

#025eb7, answered

What color is #025eb7?

#025eb7 is a dark electric blue, closest to Royal Blue (ΔE2000 8.7). It sits at 210° on the hue wheel with 98% saturation and 36% lightness, which reads as cool.

What is the RGB value of #025eb7?

rgb(2, 94, 183) — 2 red, 94 green and 183 blue out of 255, or 0.8% / 36.9% / 71.8% by channel.

Is #025eb7 a light or a dark color?

It is a dark color. Relative luminance is 0.1144 and perceived brightness is 37%, so white text on it reaches 6.39:1.

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

White. It scores 6.39:1 against #025eb7, versus 3.29:1 for black — AA at any size.

What is the complementary color of #025eb7?

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

What colors go well with #025eb7?

For interface work: #F4F7FA as the surface, #C0D7ED for borders, #4B739B for secondary text, #B92D00 as an accent and #01417E for hover and pressed states. For a palette, the analogous pair #02B7B6 and #0204B7 stays calm, while #B75B02 is the loudest partner.

What is #025eb7 in CMYK for printing?

cmyk(99%, 49%, 0%, 28%). 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 #025eb7 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 #021CB7; nudged cooler, #004E9F.

Work with #025eb7 in the Color Lab