On this page
It is a loud color, built for buttons, links, logos and accents rather than large calm backgrounds. Below you will find every code you are likely to copy, how it compares with nearby blues, real contrast ratios, CSS and print notes, and palettes you can use straight away.
#0018F9 at a glance: HEX, RGB, HSL and CMYK
The palette maker above gives you copyable codes for this color in every format. The table below lists the same values in one place, plus a few extras that designers and developers ask for.
| Format | Value |
|---|---|
| HEX | |
| RGB | rgb(0, 24, 249) |
| HSL | hsl(234, 100%, 49%) |
| HSV / HSB | 234°, 100%, 98% |
| CMYK (basic conversion) | 100, 90, 0, 2 |
| Decimal | 6393 |
| Nearest web-safe color | |
| Complementary color |
The hex triplet breaks down as 00 for red, 18 for green and F9 for blue. In decimal that is 0, 24 and 249 out of 255. is not one of the 216 web-safe colors, which no longer matters on modern screens but explains why older tools snap it to .
What does #0018F9 look like?
Picture the blue of a bright electric sign or a highlighter-bright pen cap. It has no red at all and almost no green, so the color is nearly pure blue light. On a good display it glows, and that glow is the main reason it feels energetic rather than corporate.
Its lightness is 49%, but it behaves as a dark color. Relative luminance is only about 0.075, because the blue channel contributes very little to perceived brightness. That is why this color looks intense yet reads as dark next to white, and why thin blue text on a dark background tends to disappear.
is a bright, saturated blue with a hue of 234°, just 6° away from pure blue at 240°. Think "electric", not "navy".
How #0018F9 differs from the blues around it
Blue has hundreds of named variants, and most of the ones near this code are separated by only a few steps in saturation, lightness or hue. Knowing the neighbors helps you decide whether this exact value is what you need.
- Pure Blue : the web “blue”. Slightly more neutral, with zero green, so it feels a touch more violet.
- Blue (RYB) : noticeably greener and brighter, closer to azure.
- Palatinate Blue : the same family but calmer, with less saturation.
- Zaffre : nearly the same hue, much darker and better for large dark areas.
- International Klein Blue : deeper and more ink-like, famous in art.
- Royal Blue : lighter and more muted; see our royal blue page for the full story.
If you want a calmer, more traditional corporate feel, compare it with the deeper #00338D. If you want something softer and friendlier, step toward light blue.
Tints and shades of #0018F9
Mixing with white creates tints, and mixing it with black creates shades. These steps keep the same hue, so they sit together naturally in a design system. The values below are straight mixes by percentage.
- Tints (with white): 20% , 40% , 60% , 80%
- Shades (with black): 20% , 40% , 60% , 80%
For a UI scale, I would take as the 500 step, for hover tints on dark backgrounds, for subtle fills and selected rows, and for pressed states or dark headers. The darkest step, , is close enough to black that it makes a rich replacement for pure black text on light pages.
Colors that pair well with #0018F9
The complement of is the bright yellow . The pairing is loud, so use yellow as a small highlight, such as a badge or underline, rather than splitting the page evenly. Analogous neighbors are the sky-leaning (hue 204°) and the violet (hue 264°), which together make a glowing cool range.
A triadic setup adds a red, , and a green, . Both are extremely saturated, so I rarely use them at full strength. A single red accent is enough, and it should never sit directly beside this blue in thin lines, because saturated red and blue next to each other can seem to vibrate.
Neutrals do most of the calming. Off-white backgrounds like #F8F8F8 and #EDEDED make the blue pop without the harshness of pure white. For text and dark surfaces, #1A1A1A is a clean near-black, and #4A4A4A works as softer body text or a secondary gray.
Is #0018F9 accessible? Contrast ratios
WCAG contrast depends on relative luminance, and I calculated the ratios below from the exact color values. White text on a background gives about 8.4:1, which passes AA (4.5:1) and AAA (7:1) for normal text. Black text on the same blue gives only about 2.5:1, which fails even the 3:1 threshold for large text.
Which text color works best on a #0018F9 background?
White reaches about 8.4:1 on #0018F9, while black only reaches about 2.5:1.
As a text color on light backgrounds, is just as strong. It reaches about 7.9:1 on and about 7.2:1 on , so it passes AAA for normal text on both. That makes it a solid link color.
The problem appears in dark mode. On , this blue gets only about 2.1:1, which fails. On a client dashboard I once had to swap the link color for the 60% tint in dark mode, which gives about 7.5:1 on the same background, and the complaints about unreadable links stopped.
Try this: Place text on a background and on a background side by side at 16px. Then swap the dark version to and note how much easier it is to read.
Using #0018F9 in web and UI design
This color is at its best as a single accent: primary buttons, active tabs, links, focus rings and key chart series. Because white text passes AAA on it, a solid blue button with white label text is a safe default. Keep large blue areas short, since a full-screen field of this saturation tires the eyes quickly.

Here is a compact CSS setup using the scale from above:

:root {
--blue-500: #0018F9;
--blue-300: #6674FB;
--blue-100: #CCD1FE;
--blue-700: #0013C7;
}
.btn-primary {
background: var(--blue-500);
color: #FFFFFF;
}
.btn-primary:hover { background: var(--blue-700); }
a { color: var(--blue-500); }
:focus-visible { outline: 3px solid var(--blue-500); }
@media (prefers-color-scheme: dark) {
a { color: #99A3FD; }
}
The same color can be written as rgb(0 24 249) or hsl(234 100% 49%). HSL is handy for building states, because you can nudge lightness up or down without changing the hue.
Brand, interior, fashion and art uses
In branding, a saturated blue reads as confident, digital and direct, which is why it shows up in tech, finance and sports identities. Used alone on white it can feel stark, so many brands pair it with a warm gray or a single bright accent. If you want a more established, serious tone, a deeper blue like #586288 (a muted dark navy) may suit better.
In interiors, I would not paint a whole room in this shade. It works as a single feature: a door, a bookcase back, a velvet chair or a rug. Pair it with warm wood, white plaster and brass to keep it from feeling cold. In fashion, it is a strong statement color for a coat, a knit or a bag, and it looks best against black, cream or camel.
In art and illustration, the strong saturation makes it behave like a pigment such as ultramarine or cobalt on screen. It works for backgrounds in posters, album covers and digital paintings where you want pure color to hit the viewer first.
Why #0018F9 prints duller than it looks
Screens create blue by emitting light, and very saturated blues like this fall outside the range of colors that CMYK inks can reproduce. The basic CMYK conversion of 100, 90, 0, 2 is only a starting point. On a coated sheet, the actual result will be deeper and flatter than your monitor suggests.
What usually happens to #0018F9 when it is printed in CMYK?
Very saturated screen blues fall outside what CMYK inks can reproduce, so the press result is flatter.
I once approved a flyer proof where this exact blue looked electric on screen and came back from the press closer to a dull royal blue. The fix was to request a spot color or a Pantone match for the logo, and to accept a slightly different blue for photos and gradients.
If your project is print-first, choose the blue from a printed swatch book, not from the screen. For packaging and brand work, ask the printer for a drawdown on the actual stock before approving a full run.
Palette ideas built around #0018F9
You can build palettes from this blue in minutes with the palette maker at the top of the page, but the four sets in the palette block are tuned for specific jobs. Electric Ledger keeps the blue as the lead and surrounds it with calm neutrals. Cobalt Dusk is a single-hue scale for UI work. Signal Fire is the loud option for campaigns, and Violet Current stretches the hue into sky and purple.
Fintech dashboards and SaaS sites that need a bold, trustworthy accent.
A single-hue scale for buttons, hover states, charts and dark headers.
Event posters, sports graphics and campaign banners with high energy.
Creative portfolios and music apps that want a cool, glowing blue range.
A good rule for any palette that includes is the 60-30-10 split: 60% neutrals, 30% supporting color and 10% this blue. That keeps the saturation working as an accent instead of a wall of glare.
Colors close to this code
#0018F9 Color: questions people ask
What color is #0018F9?
#0018F9 is a vivid, fully saturated blue. Its RGB value is 0, 24, 249 and its HSL value is 234 degrees, 100% saturation and 49% lightness. It is very close to pure web blue #0000FF.
What is the RGB value of #0018F9?
The RGB value is rgb(0, 24, 249). That means no red, a very small amount of green (24 of 255) and almost full blue (249 of 255).
What is the CMYK value of #0018F9?
A basic conversion gives C 100, M 90, Y 0, K 2. Real printing results depend on the paper and inks, and the printed color will be duller than the screen version.
What is the complementary color of #0018F9?
The complement is the bright yellow #F9E100. Together they make a loud, high-energy pair that works best when one color is used in small doses.
Can I use #0018F9 for text on a white background?
Yes. The contrast ratio between #0018F9 and white is about 8.4:1, which passes WCAG AA and AAA for normal text. It also works as a link color on light neutrals like #F8F8F8.
Keep exploring
- #36393F Color: Hex Code, RGB and Matching Palettes
- #36393E Hex Color: RGB Values and Palettes
- #2F3136 Color: Hex Code, RGB and Palettes
- #FF5733 Hex Color Code: RGB, Shades and Palettes
- #F4F4F4 Color: Hex Code, RGB and Palettes
- #000000 Color: Black Hex Code, RGB and Palettes
- Honey Blonde Color: Hex Code, RGB and Palettes
- Light Green Color: Hex Code, RGB and Palettes