Skip to content

#0487eb

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

RGB
4, 135, 235
HSL
206°, 97%, 47%
CMYK
98, 43, 0, 8
Luminance
0.2335

At a glance

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

Hex
#0487eb
Hue
206°
blue
Saturation
97%
electric
Lightness
47%
balanced
Brightness
92%
HSV value
Perceived
51%
weighted brightness
Luminance
0.2335
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.67:1
Closest name
Dodger Blue
ΔE2000 3.7
Where it sits
Hue206° of 360°
Saturation97%
Lightness47%
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#0487eb
RGBrgb(4, 135, 235)
HSLhsl(206, 97%, 47%)
CMYKcmyk(98%, 43%, 0%, 8%)
LABlab(55.4 6.8 -58.7)
LCHlch(55.4 59.1 276.6)
OKLCHoklch(0.617 0.178 251.0)
Decimal296939
Display P3color(display-p3 0.016 0.529 0.922)

Copy-ready code

/* CSS */
color: #0487eb;
background-color: #0487eb;
/* Tailwind (arbitrary) */
class="text-[#0487eb] bg-[#0487eb]"
/* SCSS */
$brand: #0487eb;
/* SwiftUI */
Color(red: 0.016, green: 0.529, blue: 0.922)
/* Android */
Color.parseColor("#0487eb")
/* Flutter */
Color(0xFF0487EB)
/* Python / OpenCV (BGR) */
(235, 135, 4)

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

Accessibility — WCAG contrast

Aa
#0487eb on white: 3.70:1
AA ✗ fail · AA-large · AAA
Aa
#0487eb on black: 5.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #528FEF
deuteranopia · #267CE9
tritanopia · #009FAD

Color scale — 50 to 950

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

#F1F8FD
#E4F1FC
#C1E2FB
#91CEFD
#59B6FC
#229DFB
#0487eb
#0373C9
#035CA1
#074474
#042B48
Base = 600Lightest = 50 · #F1F8FDDarkest = 950 · #042B48
:root {
  --brand-50: #F1F8FD;
  --brand-100: #E4F1FC;
  --brand-200: #C1E2FB;
  --brand-300: #91CEFD;
  --brand-400: #59B6FC;
  --brand-500: #229DFB;
  --brand-600: #0487eb;
  --brand-700: #0373C9;
  --brand-800: #035CA1;
  --brand-900: #074474;
  --brand-950: #042B48;
  --brand: #0487eb;
  --brand-ink: #000000;
}

Colors that work with #0487eb

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#EF2C00
Second voice, not a rival
Dark variant#02487D
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 #0487eb

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#EB6804
Analogous left#04EBDC
Analogous right#0413EB
Split-complement 1#EB0413
Split-complement 2#EBDC04
Triadic 1#EB0487
Triadic 2#87EB04
Tetradic#DC04EB

RGB percentages

Red1.6%
Green52.9%
Blue92.2%

CMYK percentages

Cyan98.3%
Magenta42.6%
Yellow0.0%
Key (black)7.8%

Color previews

#0487eb text on a black background

contrast 5.67:1

Card sample

#0487eb text on a white background

contrast 3.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0487eb;
Background color
Panel with #0487eb background
background-color: #0487eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0487eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(4, 135, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(4, 135, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0487eb;
background: linear-gradient(135deg, #0487eb, #1B04EB);

Monochromatic scale

Palettes built from #0487eb

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.

#0487eb 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.

#0487eb, answered

What color is #0487eb?

#0487eb is a balanced electric blue, closest to Dodger Blue (ΔE2000 3.7). It sits at 206° on the hue wheel with 97% saturation and 47% lightness, which reads as cool.

What is the RGB value of #0487eb?

rgb(4, 135, 235) — 4 red, 135 green and 235 blue out of 255, or 1.6% / 52.9% / 92.2% by channel.

Is #0487eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2335 and perceived brightness is 51%, so black text on it reaches 5.67:1.

Should I use black or white text on #0487eb?

Black. It scores 5.67:1 against #0487eb, versus 3.70:1 for white — AA at any size.

What is the complementary color of #0487eb?

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

What colors go well with #0487eb?

For interface work: #F4F8FA as the surface, #C0D9ED for borders, #4B789B for secondary text, #EF2C00 as an accent and #02487D for hover and pressed states. For a palette, the analogous pair #04EBDC and #0413EB stays calm, while #EB6804 is the loudest partner.

What is #0487eb in CMYK for printing?

cmyk(98%, 43%, 0%, 8%). 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 #0487eb 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 #0432EB; nudged cooler, #0170D4.

Work with #0487eb in the Color Lab