Skip to content

#010eb2

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

RGB
1, 14, 178
HSL
236°, 99%, 35%
CMYK
99, 92, 0, 30
Luminance
0.0353

At a glance

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

Hex
#010eb2
Hue
236°
blue
Saturation
99%
electric
Lightness
35%
dark
Brightness
70%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0353
WCAG relative
Temperature
Cool
86/100 cool
Color family
Blue
Tone
Electric
Best ink
White
12.30:1
Closest name
Medium Blue
ΔE2000 3.3
Where it sits
Hue236° of 360°
Saturation99%
Lightness35%
Temperature
Warm ← → Cool86% 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#010eb2
RGBrgb(1, 14, 178)
HSLhsl(236, 99%, 35%)
CMYKcmyk(99%, 92%, 0%, 30%)
LABlab(22.1 56.9 -80.4)
LCHlch(22.1 98.5 305.3)
OKLCHoklch(0.353 0.234 264.3)
Decimal69298
Display P3color(display-p3 0.004 0.055 0.698)

Copy-ready code

/* CSS */
color: #010eb2;
background-color: #010eb2;
/* Tailwind (arbitrary) */
class="text-[#010eb2] bg-[#010eb2]"
/* SCSS */
$brand: #010eb2;
/* SwiftUI */
Color(red: 0.004, green: 0.055, blue: 0.698)
/* Android */
Color.parseColor("#010eb2")
/* Flutter */
Color(0xFF010EB2)
/* Python / OpenCV (BGR) */
(178, 14, 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 #010eb2 · 12.30:1
Use #ffffffAAA at every size.
Aa
White text · 12.30:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.71:1
AA fail · AA large fail · AAA fail
Reading the other direction: #010eb2 as text scores 12.30:1 on white and 1.71:1 on black.

Accessibility — WCAG contrast

Aa
#010eb2 on white: 12.30:1
AA ✓ pass · AA-large · AAA
Aa
#010eb2 on black: 1.71:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #003EB6
deuteranopia · #002BB0
tritanopia · #004B68

Color scale — 50 to 950

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

#F1F2FE
#E3E5FC
#C0C5FB
#8F98FE
#5864FE
#2030FE
#0113F3
#0110CB
#010eb2
#060E75
#030949
Base = 800Lightest = 50 · #F1F2FEDarkest = 950 · #030949
:root {
  --brand-50: #F1F2FE;
  --brand-100: #E3E5FC;
  --brand-200: #C0C5FB;
  --brand-300: #8F98FE;
  --brand-400: #5864FE;
  --brand-500: #2030FE;
  --brand-600: #0113F3;
  --brand-700: #0110CB;
  --brand-800: #010eb2;
  --brand-900: #060E75;
  --brand-950: #030949;
  --brand: #010eb2;
  --brand-ink: #ffffff;
}

Colors that work with #010eb2

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#F4F5FA
Tinted page background
Border#C0C3ED
Hairlines and dividers
Muted text#4B509B
Captions on the surface
Accent#B37900
Second voice, not a rival
Dark variant#010A7F
Hover, pressed, headers
Light variant#E6E7FF
Selected rows, tints
Dark surface#141524
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 #010eb2

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#B2A501
Analogous left#0166B2
Analogous right#4D01B2
Split-complement 1#B24D01
Split-complement 2#66B201
Triadic 1#B2010E
Triadic 2#0EB201
Tetradic#B20166

RGB percentages

Red0.4%
Green5.5%
Blue69.8%

CMYK percentages

Cyan99.4%
Magenta92.1%
Yellow0.0%
Key (black)30.2%

Color previews

#010eb2 text on a black background

contrast 1.71:1

Card sample

#010eb2 text on a white background

contrast 12.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #010eb2;
Background color
Panel with #010eb2 background
background-color: #010eb2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #010eb2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(1, 14, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(1, 14, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #010eb2;
background: linear-gradient(135deg, #010eb2, #6A01B2);

Monochromatic scale

Palettes built from #010eb2

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.

#010eb2 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.

#010eb2, answered

What color is #010eb2?

#010eb2 is a dark electric blue, closest to Medium Blue (ΔE2000 3.3). It sits at 236° on the hue wheel with 99% saturation and 35% lightness, which reads as cool.

What is the RGB value of #010eb2?

rgb(1, 14, 178) — 1 red, 14 green and 178 blue out of 255, or 0.4% / 5.5% / 69.8% by channel.

Is #010eb2 a light or a dark color?

It is a dark color. Relative luminance is 0.0353 and perceived brightness is 24%, so white text on it reaches 12.30:1.

Should I use black or white text on #010eb2?

White. It scores 12.30:1 against #010eb2, versus 1.71:1 for black — AAA at any size.

What is the complementary color of #010eb2?

#B2A501 sits directly opposite on the wheel. Softer options are the split-complements #B24D01 and #66B201, which give the same contrast with far less vibration.

What colors go well with #010eb2?

For interface work: #F4F5FA as the surface, #C0C3ED for borders, #4B509B for secondary text, #B37900 as an accent and #010A7F for hover and pressed states. For a palette, the analogous pair #0166B2 and #4D01B2 stays calm, while #B2A501 is the loudest partner.

What is #010eb2 in CMYK for printing?

cmyk(99%, 92%, 0%, 30%). 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 #010eb2 warm or cool?

Cool — it scores 86 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3501B2; nudged cooler, #0032B3.

Work with #010eb2 in the Color Lab