Skip to content

#027afd

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

RGB
2, 122, 253
HSL
211°, 98%, 50%
CMYK
99, 52, 0, 1
Luminance
0.2102

At a glance

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

Hex
#027afd
Hue
211°
blue
Saturation
98%
electric
Lightness
50%
balanced
Brightness
99%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2102
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.20:1
Closest name
Steel Blue
ΔE2000 7.1
Where it sits
Hue211° of 360°
Saturation98%
Lightness50%
Temperature
Warm ← → Cool99% 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#027afd
RGBrgb(2, 122, 253)
HSLhsl(211, 98%, 50%)
CMYKcmyk(99%, 52%, 0%, 1%)
LABlab(53.0 21.8 -72.6)
LCHlch(53.0 75.8 286.7)
OKLCHoklch(0.601 0.215 257.3)
Decimal162557
Display P3color(display-p3 0.008 0.478 0.992)

Copy-ready code

/* CSS */
color: #027afd;
background-color: #027afd;
/* Tailwind (arbitrary) */
class="text-[#027afd] bg-[#027afd]"
/* SCSS */
$brand: #027afd;
/* SwiftUI */
Color(red: 0.008, green: 0.478, blue: 0.992)
/* Android */
Color.parseColor("#027afd")
/* Flutter */
Color(0xFF027AFD)
/* Python / OpenCV (BGR) */
(253, 122, 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#000000 on #027afd · 5.20:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.03:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.20:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #027afd as text scores 4.03:1 on white and 5.20:1 on black.

Accessibility — WCAG contrast

Aa
#027afd on white: 4.03:1
AA ✗ fail · AA-large · AAA
Aa
#027afd on black: 5.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0C89FF
deuteranopia · #0075FA
tritanopia · #009BB0

Color scale — 50 to 950

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

#F1F7FE
#E3EFFC
#C1DDFB
#90C5FE
#58A7FE
#208AFD
#027afd
#0262CA
#014EA2
#063B75
#042549
Base = 600Lightest = 50 · #F1F7FEDarkest = 950 · #042549
:root {
  --brand-50: #F1F7FE;
  --brand-100: #E3EFFC;
  --brand-200: #C1DDFB;
  --brand-300: #90C5FE;
  --brand-400: #58A7FE;
  --brand-500: #208AFD;
  --brand-600: #027afd;
  --brand-700: #0262CA;
  --brand-800: #014EA2;
  --brand-900: #063B75;
  --brand-950: #042549;
  --brand: #027afd;
  --brand-ink: #000000;
}

Colors that work with #027afd

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#F4F7FA
Tinted page background
Border#C0D5ED
Hairlines and dividers
Muted text#4B719B
Captions on the surface
Accent#FF4500
Second voice, not a rival
Dark variant#013D7E
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 #027afd

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#FD8502
Analogous left#02F8FD
Analogous right#0702FD
Split-complement 1#FD0702
Split-complement 2#F8FD02
Triadic 1#FD027A
Triadic 2#7AFD02
Tetradic#FD02F8

RGB percentages

Red0.8%
Green47.8%
Blue99.2%

CMYK percentages

Cyan99.2%
Magenta51.8%
Yellow0.0%
Key (black)0.8%

Color previews

#027afd text on a black background

contrast 5.20:1

Card sample

#027afd text on a white background

contrast 4.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #027afd;
Background color
Panel with #027afd background
background-color: #027afd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #027afd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(2, 122, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(2, 122, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #027afd;
background: linear-gradient(135deg, #027afd, #3102FD);

Monochromatic scale

Palettes built from #027afd

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.

#027afd 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.

#027afd, answered

What color is #027afd?

#027afd is a balanced electric blue, closest to Steel Blue (ΔE2000 7.1). It sits at 211° on the hue wheel with 98% saturation and 50% lightness, which reads as cool.

What is the RGB value of #027afd?

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

Is #027afd a light or a dark color?

It is a mid-tone. Relative luminance is 0.2102 and perceived brightness is 50%, so black text on it reaches 5.20:1.

Should I use black or white text on #027afd?

Black. It scores 5.20:1 against #027afd, versus 4.03:1 for white — AA at any size.

What is the complementary color of #027afd?

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

What colors go well with #027afd?

For interface work: #F4F7FA as the surface, #C0D5ED for borders, #4B719B for secondary text, #FF4500 as an accent and #013D7E for hover and pressed states. For a palette, the analogous pair #02F8FD and #0702FD stays calm, while #FD8502 is the loudest partner.

What is #027afd in CMYK for printing?

cmyk(99%, 52%, 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 #027afd warm or cool?

Cool — it scores 99 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #021EFD; nudged cooler, #006DE6.

Work with #027afd in the Color Lab