Skip to content

#018dfb

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

RGB
1, 141, 251
HSL
206°, 99%, 49%
CMYK
100, 44, 0, 2
Luminance
0.2602

At a glance

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

Hex
#018dfb
Hue
206°
blue
Saturation
99%
electric
Lightness
49%
balanced
Brightness
98%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2602
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.20:1
Closest name
Dodger Blue
ΔE2000 1.3
Where it sits
Hue206° of 360°
Saturation99%
Lightness49%
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#018dfb
RGBrgb(1, 141, 251)
HSLhsl(206, 99%, 49%)
CMYKcmyk(100%, 44%, 0%, 2%)
LABlab(58.0 9.3 -63.3)
LCHlch(58.0 64.0 278.3)
OKLCHoklch(0.640 0.191 252.0)
Decimal101883
Display P3color(display-p3 0.004 0.553 0.984)

Copy-ready code

/* CSS */
color: #018dfb;
background-color: #018dfb;
/* Tailwind (arbitrary) */
class="text-[#018dfb] bg-[#018dfb]"
/* SCSS */
$brand: #018dfb;
/* SwiftUI */
Color(red: 0.004, green: 0.553, blue: 0.984)
/* Android */
Color.parseColor("#018dfb")
/* Flutter */
Color(0xFF018DFB)
/* Python / OpenCV (BGR) */
(251, 141, 1)

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

Accessibility — WCAG contrast

Aa
#018dfb on white: 3.38:1
AA ✗ fail · AA-large · AAA
Aa
#018dfb on black: 6.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5196FF
deuteranopia · #1982F9
tritanopia · #00A8B8

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #018dfb 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
#C0E1FB
#8FCEFF
#57B5FE
#1F9CFE
#018dfb
#0172CB
#015BA3
#054475
#032A49
Base = 600Lightest = 50 · #F1F8FEDarkest = 950 · #032A49
:root {
  --brand-50: #F1F8FE;
  --brand-100: #E3F1FC;
  --brand-200: #C0E1FB;
  --brand-300: #8FCEFF;
  --brand-400: #57B5FE;
  --brand-500: #1F9CFE;
  --brand-600: #018dfb;
  --brand-700: #0172CB;
  --brand-800: #015BA3;
  --brand-900: #054475;
  --brand-950: #032A49;
  --brand: #018dfb;
  --brand-ink: #000000;
}

Colors that work with #018dfb

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#FC3000
Second voice, not a rival
Dark variant#01477F
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 #018dfb

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#FB6F01
Analogous left#01FBEC
Analogous right#0110FB
Split-complement 1#FB0110
Split-complement 2#FBEC01
Triadic 1#FB018D
Triadic 2#8DFB01
Tetradic#EC01FB

RGB percentages

Red0.4%
Green55.3%
Blue98.4%

CMYK percentages

Cyan99.6%
Magenta43.8%
Yellow0.0%
Key (black)1.6%

Color previews

#018dfb text on a black background

contrast 6.20:1

Card sample

#018dfb text on a white background

contrast 3.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #018dfb;
Background color
Panel with #018dfb background
background-color: #018dfb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #018dfb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(1, 141, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(1, 141, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #018dfb;
background: linear-gradient(135deg, #018dfb, #1C01FB);

Monochromatic scale

Palettes built from #018dfb

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.

#018dfb 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.

#018dfb, answered

What color is #018dfb?

#018dfb is a balanced electric blue, closest to Dodger Blue (ΔE2000 1.3). It sits at 206° on the hue wheel with 99% saturation and 49% lightness, which reads as cool.

What is the RGB value of #018dfb?

rgb(1, 141, 251) — 1 red, 141 green and 251 blue out of 255, or 0.4% / 55.3% / 98.4% by channel.

Is #018dfb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2602 and perceived brightness is 54%, so black text on it reaches 6.20:1.

Should I use black or white text on #018dfb?

Black. It scores 6.20:1 against #018dfb, versus 3.38:1 for white — AA at any size.

What is the complementary color of #018dfb?

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

What colors go well with #018dfb?

For interface work: #F4F8FA as the surface, #C0D9ED for borders, #4B789B for secondary text, #FC3000 as an accent and #01477F for hover and pressed states. For a palette, the analogous pair #01FBEC and #0110FB stays calm, while #FB6F01 is the loudest partner.

What is #018dfb in CMYK for printing?

cmyk(100%, 44%, 0%, 2%). 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 #018dfb 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 #015DFB; nudged cooler, #0076E2.

Work with #018dfb in the Color Lab