Skip to content

#0146cf

a dark, electric blue · cool · closest name: Slate Blue

RGB
1, 70, 207
HSL
220°, 99%, 41%
CMYK
100, 66, 0, 19
Luminance
0.0889

At a glance

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

Hex
#0146cf
Hue
220°
blue
Saturation
99%
electric
Lightness
41%
dark
Brightness
81%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0889
WCAG relative
Temperature
Cool
95/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.56:1
Closest name
Slate Blue
ΔE2000 10.9
Where it sits
Hue220° of 360°
Saturation99%
Lightness41%
Temperature
Warm ← → Cool95% 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#0146cf
RGBrgb(1, 70, 207)
HSLhsl(220, 99%, 41%)
CMYKcmyk(100%, 66%, 0%, 19%)
LABlab(35.8 37.5 -74.7)
LCHlch(35.8 83.6 296.6)
OKLCHoklch(0.461 0.219 262.4)
Decimal83663
Display P3color(display-p3 0.004 0.275 0.812)

Copy-ready code

/* CSS */
color: #0146cf;
background-color: #0146cf;
/* Tailwind (arbitrary) */
class="text-[#0146cf] bg-[#0146cf]"
/* SCSS */
$brand: #0146cf;
/* SwiftUI */
Color(red: 0.004, green: 0.275, blue: 0.812)
/* Android */
Color.parseColor("#0146cf")
/* Flutter */
Color(0xFF0146CF)
/* Python / OpenCV (BGR) */
(207, 70, 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#ffffff on #0146cf · 7.56:1
Use #ffffffAAA at every size.
Aa
White text · 7.56:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.78:1
AA fail · AA large fail · AAA fail
Reading the other direction: #0146cf as text scores 7.56:1 on white and 2.78:1 on black.

Accessibility — WCAG contrast

Aa
#0146cf on white: 7.56:1
AA ✓ pass · AA-large · AAA
Aa
#0146cf on black: 2.78:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005DD3
deuteranopia · #004BCD
tritanopia · #006C84

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0146cf is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F1F5FE
#E3ECFC
#C0D4FB
#8FB5FE
#588FFE
#206AFE
#0152F4
#0146cf
#0137A2
#052B75
#031B49
Base = 700Lightest = 50 · #F1F5FEDarkest = 950 · #031B49
:root {
  --brand-50: #F1F5FE;
  --brand-100: #E3ECFC;
  --brand-200: #C0D4FB;
  --brand-300: #8FB5FE;
  --brand-400: #588FFE;
  --brand-500: #206AFE;
  --brand-600: #0152F4;
  --brand-700: #0146cf;
  --brand-800: #0137A2;
  --brand-900: #052B75;
  --brand-950: #031B49;
  --brand: #0146cf;
  --brand-ink: #ffffff;
}

Colors that work with #0146cf

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F6FA
Tinted page background
Border#C0CFED
Hairlines and dividers
Muted text#4B659B
Captions on the surface
Accent#D05600
Second voice, not a rival
Dark variant#012B7F
Hover, pressed, headers
Light variant#E6EEFF
Selected rows, tints
Dark surface#141924
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 #0146cf

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#CF8A01
Analogous left#01ADCF
Analogous right#2301CF
Split-complement 1#CF2301
Split-complement 2#ADCF01
Triadic 1#CF0146
Triadic 2#46CF01
Tetradic#CF01AD

RGB percentages

Red0.4%
Green27.5%
Blue81.2%

CMYK percentages

Cyan99.5%
Magenta66.2%
Yellow0.0%
Key (black)18.8%

Color previews

#0146cf text on a black background

contrast 2.78:1

Card sample

#0146cf text on a white background

contrast 7.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0146cf;
Background color
Panel with #0146cf background
background-color: #0146cf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0146cf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(1, 70, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(1, 70, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0146cf;
background: linear-gradient(135deg, #0146cf, #4501CF);

Monochromatic scale

Palettes built from #0146cf

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.

#0146cf 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.

#0146cf, answered

What color is #0146cf?

#0146cf is a dark electric blue, closest to Slate Blue (ΔE2000 10.9). It sits at 220° on the hue wheel with 99% saturation and 41% lightness, which reads as cool.

What is the RGB value of #0146cf?

rgb(1, 70, 207) — 1 red, 70 green and 207 blue out of 255, or 0.4% / 27.5% / 81.2% by channel.

Is #0146cf a light or a dark color?

It is a dark color. Relative luminance is 0.0889 and perceived brightness is 35%, so white text on it reaches 7.56:1.

Should I use black or white text on #0146cf?

White. It scores 7.56:1 against #0146cf, versus 2.78:1 for black — AAA at any size.

What is the complementary color of #0146cf?

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

What colors go well with #0146cf?

For interface work: #F4F6FA as the surface, #C0CFED for borders, #4B659B for secondary text, #D05600 as an accent and #012B7F for hover and pressed states. For a palette, the analogous pair #01ADCF and #2301CF stays calm, while #CF8A01 is the loudest partner.

What is #0146cf in CMYK for printing?

cmyk(100%, 66%, 0%, 19%). 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 #0146cf warm or cool?

Cool — it scores 95 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0801CF; nudged cooler, #0049B7.

Work with #0146cf in the Color Lab