Skip to content

#028cf4

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

RGB
2, 140, 244
HSL
206°, 98%, 48%
CMYK
99, 43, 0, 4
Luminance
0.2530

At a glance

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

Hex
#028cf4
Hue
206°
blue
Saturation
98%
electric
Lightness
48%
balanced
Brightness
96%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2530
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.06:1
Closest name
Dodger Blue
ΔE2000 2.1
Where it sits
Hue206° of 360°
Saturation98%
Lightness48%
Temperature
Warm ← → Cool98% 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#028cf4
RGBrgb(2, 140, 244)
HSLhsl(206, 98%, 48%)
CMYKcmyk(99%, 43%, 0%, 4%)
LABlab(57.4 7.2 -60.6)
LCHlch(57.4 61.0 276.8)
OKLCHoklch(0.633 0.184 251.0)
Decimal167156
Display P3color(display-p3 0.008 0.549 0.957)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#028cf4 on white: 3.47:1
AA ✗ fail · AA-large · AAA
Aa
#028cf4 on black: 6.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5594F8
deuteranopia · #2681F2
tritanopia · #00A5B4

Color scale — 50 to 950

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

#F1F8FE
#E3F1FC
#C1E2FB
#90CFFE
#58B6FE
#209EFD
#028cf4
#0274CA
#015DA2
#064575
#042B49
Base = 600Lightest = 50 · #F1F8FEDarkest = 950 · #042B49
:root {
  --brand-50: #F1F8FE;
  --brand-100: #E3F1FC;
  --brand-200: #C1E2FB;
  --brand-300: #90CFFE;
  --brand-400: #58B6FE;
  --brand-500: #209EFD;
  --brand-600: #028cf4;
  --brand-700: #0274CA;
  --brand-800: #015DA2;
  --brand-900: #064575;
  --brand-950: #042B49;
  --brand: #028cf4;
  --brand-ink: #000000;
}

Colors that work with #028cf4

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#F4F8FA
Tinted page background
Border#C0D9ED
Hairlines and dividers
Muted text#4B789B
Captions on the surface
Accent#F62C00
Second voice, not a rival
Dark variant#01497E
Hover, pressed, headers
Light variant#E6F4FF
Selected rows, tints
Dark surface#141D24
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 #028cf4

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#F46A02
Analogous left#02F4E3
Analogous right#0213F4
Split-complement 1#F40213
Split-complement 2#F4E302
Triadic 1#F4028C
Triadic 2#8CF402
Tetradic#E302F4

RGB percentages

Red0.8%
Green54.9%
Blue95.7%

CMYK percentages

Cyan99.2%
Magenta42.6%
Yellow0.0%
Key (black)4.3%

Color previews

#028cf4 text on a black background

contrast 6.06:1

Card sample

#028cf4 text on a white background

contrast 3.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #028cf4;
Background color
Panel with #028cf4 background
background-color: #028cf4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #028cf4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(2, 140, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(2, 140, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #028cf4;
background: linear-gradient(135deg, #028cf4, #1902F4);

Monochromatic scale

Palettes built from #028cf4

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.

#028cf4 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.

#028cf4, answered

What color is #028cf4?

#028cf4 is a balanced electric blue, closest to Dodger Blue (ΔE2000 2.1). It sits at 206° on the hue wheel with 98% saturation and 48% lightness, which reads as cool.

What is the RGB value of #028cf4?

rgb(2, 140, 244) — 2 red, 140 green and 244 blue out of 255, or 0.8% / 54.9% / 95.7% by channel.

Is #028cf4 a light or a dark color?

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

Should I use black or white text on #028cf4?

Black. It scores 6.06:1 against #028cf4, versus 3.47:1 for white — AA at any size.

What is the complementary color of #028cf4?

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

What colors go well with #028cf4?

For interface work: #F4F8FA as the surface, #C0D9ED for borders, #4B789B for secondary text, #F62C00 as an accent and #01497E for hover and pressed states. For a palette, the analogous pair #02F4E3 and #0213F4 stays calm, while #F46A02 is the loudest partner.

What is #028cf4 in CMYK for printing?

cmyk(99%, 43%, 0%, 4%). 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 #028cf4 warm or cool?

Cool — it scores 98 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0270F4; nudged cooler, #0074DC.

Work with #028cf4 in the Color Lab