Skip to content

#140abc

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

RGB
20, 10, 188
HSL
243°, 90%, 39%
CMYK
89, 95, 0, 26
Luminance
0.0400

At a glance

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

Hex
#140abc
Hue
243°
blue
Saturation
90%
electric
Lightness
39%
dark
Brightness
74%
HSV value
Perceived
25%
weighted brightness
Luminance
0.0400
WCAG relative
Temperature
Cool
81/100 cool
Color family
Blue
Tone
Electric
Best ink
White
11.67:1
Closest name
Medium Blue
ΔE2000 1.9
Where it sits
Hue243° of 360°
Saturation90%
Lightness39%
Temperature
Warm ← → Cool81% 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#140abc
RGBrgb(20, 10, 188)
HSLhsl(243, 90%, 39%)
CMYKcmyk(89%, 95%, 0%, 26%)
LABlab(23.7 60.9 -83.7)
LCHlch(23.7 103.5 306.0)
OKLCHoklch(0.369 0.242 267.0)
Decimal1313468
Display P3color(display-p3 0.078 0.039 0.737)

Copy-ready code

/* CSS */
color: #140abc;
background-color: #140abc;
/* Tailwind (arbitrary) */
class="text-[#140abc] bg-[#140abc]"
/* SCSS */
$brand: #140abc;
/* SwiftUI */
Color(red: 0.078, green: 0.039, blue: 0.737)
/* Android */
Color.parseColor("#140abc")
/* Flutter */
Color(0xFF140ABC)
/* Python / OpenCV (BGR) */
(188, 10, 20)

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 #140abc · 11.67:1
Use #ffffffAAA at every size.
Aa
White text · 11.67:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.80:1
AA fail · AA large fail · AAA fail
Reading the other direction: #140abc as text scores 11.67:1 on white and 1.80:1 on black.

Accessibility — WCAG contrast

Aa
#140abc on white: 11.67:1
AA ✓ pass · AA-large · AAA
Aa
#140abc on black: 1.80:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0041C0
deuteranopia · #002EB9
tritanopia · #004E6E

Color scale — 50 to 950

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

#F2F2FD
#E6E5FB
#C6C3F8
#9A94F9
#685FF7
#352AF4
#190CE8
#140abc
#11089B
#100B70
#0A0746
Base = 700Lightest = 50 · #F2F2FDDarkest = 950 · #0A0746
:root {
  --brand-50: #F2F2FD;
  --brand-100: #E6E5FB;
  --brand-200: #C6C3F8;
  --brand-300: #9A94F9;
  --brand-400: #685FF7;
  --brand-500: #352AF4;
  --brand-600: #190CE8;
  --brand-700: #140abc;
  --brand-800: #11089B;
  --brand-900: #100B70;
  --brand-950: #0A0746;
  --brand: #140abc;
  --brand-ink: #ffffff;
}

Colors that work with #140abc

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#F5F4FA
Tinted page background
Border#C2C0ED
Hairlines and dividers
Muted text#4F4B9B
Captions on the surface
Accent#C6A106
Second voice, not a rival
Dark variant#0D0679
Hover, pressed, headers
Light variant#E8E7FE
Selected rows, tints
Dark surface#151424
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 #140abc

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#B2BC0A
Analogous left#0A59BC
Analogous right#6D0ABC
Split-complement 1#BC6D0A
Split-complement 2#59BC0A
Triadic 1#BC140A
Triadic 2#0ABC14
Tetradic#BC0A59

RGB percentages

Red7.8%
Green3.9%
Blue73.7%

CMYK percentages

Cyan89.4%
Magenta94.7%
Yellow0.0%
Key (black)26.3%

Color previews

#140abc text on a black background

contrast 1.80:1

Card sample

#140abc text on a white background

contrast 11.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #140abc;
Background color
Panel with #140abc background
background-color: #140abc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #140abc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(20, 10, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(20, 10, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #140abc;
background: linear-gradient(135deg, #140abc, #8B0ABC);

Monochromatic scale

Palettes built from #140abc

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.

#140abc 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.

#140abc, answered

What color is #140abc?

#140abc is a dark electric blue, closest to Medium Blue (ΔE2000 1.9). It sits at 243° on the hue wheel with 90% saturation and 39% lightness, which reads as cool.

What is the RGB value of #140abc?

rgb(20, 10, 188) — 20 red, 10 green and 188 blue out of 255, or 7.8% / 3.9% / 73.7% by channel.

Is #140abc a light or a dark color?

It is a dark color. Relative luminance is 0.0400 and perceived brightness is 25%, so white text on it reaches 11.67:1.

Should I use black or white text on #140abc?

White. It scores 11.67:1 against #140abc, versus 1.80:1 for black — AAA at any size.

What is the complementary color of #140abc?

#B2BC0A sits directly opposite on the wheel. Softer options are the split-complements #BC6D0A and #59BC0A, which give the same contrast with far less vibration.

What colors go well with #140abc?

For interface work: #F5F4FA as the surface, #C2C0ED for borders, #4F4B9B for secondary text, #C6A106 as an accent and #0D0679 for hover and pressed states. For a palette, the analogous pair #0A59BC and #6D0ABC stays calm, while #B2BC0A is the loudest partner.

What is #140abc in CMYK for printing?

cmyk(89%, 95%, 0%, 26%). 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 #140abc warm or cool?

Cool — it scores 81 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #550ABC; nudged cooler, #0831BE.

Work with #140abc in the Color Lab