Skip to content

#2016eb

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

RGB
32, 22, 235
HSL
243°, 84%, 50%
CMYK
86, 91, 0, 8
Luminance
0.0688

At a glance

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

Hex
#2016eb
Hue
243°
blue
Saturation
84%
electric
Lightness
50%
balanced
Brightness
92%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0688
WCAG relative
Temperature
Cool
82/100 cool
Color family
Blue
Tone
Electric
Best ink
White
8.84:1
Closest name
Blue
ΔE2000 2
Where it sits
Hue243° of 360°
Saturation84%
Lightness50%
Temperature
Warm ← → Cool82% 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#2016eb
RGBrgb(32, 22, 235)
HSLhsl(243, 84%, 50%)
CMYKcmyk(86%, 91%, 0%, 8%)
LABlab(31.5 70.5 -97.8)
LCHlch(31.5 120.6 305.8)
OKLCHoklch(0.441 0.283 267.6)
Decimal2103019
Display P3color(display-p3 0.125 0.086 0.922)

Copy-ready code

/* CSS */
color: #2016eb;
background-color: #2016eb;
/* Tailwind (arbitrary) */
class="text-[#2016eb] bg-[#2016eb]"
/* SCSS */
$brand: #2016eb;
/* SwiftUI */
Color(red: 0.125, green: 0.086, blue: 0.922)
/* Android */
Color.parseColor("#2016eb")
/* Flutter */
Color(0xFF2016EB)
/* Python / OpenCV (BGR) */
(235, 22, 32)

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

Accessibility — WCAG contrast

Aa
#2016eb on white: 8.84:1
AA ✓ pass · AA-large · AAA
Aa
#2016eb on black: 2.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0055F0
deuteranopia · #003EE8
tritanopia · #00658B

Color scale — 50 to 950

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

#F3F2FC
#E7E6FA
#C8C5F6
#9C98F6
#6B64F2
#3930ED
#2016eb
#1810BC
#130D96
#120E6D
#0B0944
Base = 600Lightest = 50 · #F3F2FCDarkest = 950 · #0B0944
:root {
  --brand-50: #F3F2FC;
  --brand-100: #E7E6FA;
  --brand-200: #C8C5F6;
  --brand-300: #9C98F6;
  --brand-400: #6B64F2;
  --brand-500: #3930ED;
  --brand-600: #2016eb;
  --brand-700: #1810BC;
  --brand-800: #130D96;
  --brand-900: #120E6D;
  --brand-950: #0B0944;
  --brand: #2016eb;
  --brand-ink: #ffffff;
}

Colors that work with #2016eb

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#4E4B9B
Captions on the surface
Accent#C09C0C
Second voice, not a rival
Dark variant#0F0A75
Hover, pressed, headers
Light variant#E9E8FD
Selected rows, tints
Dark surface#141424
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 #2016eb

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
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#E1EB16
Analogous left#1677EB
Analogous right#8A16EB
Split-complement 1#EB8A16
Split-complement 2#77EB16
Triadic 1#EB2016
Triadic 2#16EB20
Tetradic#EB1677

RGB percentages

Red12.5%
Green8.6%
Blue92.2%

CMYK percentages

Cyan86.4%
Magenta90.6%
Yellow0.0%
Key (black)7.8%

Color previews

#2016eb text on a black background

contrast 2.38:1

Card sample

#2016eb text on a white background

contrast 8.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2016eb;
Background color
Panel with #2016eb background
background-color: #2016eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2016eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(32, 22, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 22, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2016eb;
background: linear-gradient(135deg, #2016eb, #AE16EB);

Monochromatic scale

Palettes built from #2016eb

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.

#2016eb 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.

#2016eb, answered

What color is #2016eb?

#2016eb is a balanced electric blue, closest to Blue (ΔE2000 2). It sits at 243° on the hue wheel with 84% saturation and 50% lightness, which reads as cool.

What is the RGB value of #2016eb?

rgb(32, 22, 235) — 32 red, 22 green and 235 blue out of 255, or 12.5% / 8.6% / 92.2% by channel.

Is #2016eb a light or a dark color?

It is a dark color. Relative luminance is 0.0688 and perceived brightness is 33%, so white text on it reaches 8.84:1.

Should I use black or white text on #2016eb?

White. It scores 8.84:1 against #2016eb, versus 2.38:1 for black — AAA at any size.

What is the complementary color of #2016eb?

#E1EB16 sits directly opposite on the wheel. Softer options are the split-complements #EB8A16 and #77EB16, which give the same contrast with far less vibration.

What colors go well with #2016eb?

For interface work: #F5F4FA as the surface, #C2C0ED for borders, #4E4B9B for secondary text, #C09C0C as an accent and #0F0A75 for hover and pressed states. For a palette, the analogous pair #1677EB and #8A16EB stays calm, while #E1EB16 is the loudest partner.

What is #2016eb in CMYK for printing?

cmyk(86%, 91%, 0%, 8%). 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 #2016eb warm or cool?

Cool — it scores 82 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6E16EB; nudged cooler, #1340EE.

Work with #2016eb in the Color Lab