Skip to content

#2000b0

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

RGB
32, 0, 176
HSL
251°, 100%, 35%
CMYK
82, 100, 0, 31
Luminance
0.0344

At a glance

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

Hex
#2000b0
Hue
251°
blue
Saturation
100%
electric
Lightness
35%
dark
Brightness
69%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0344
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Electric
Best ink
White
12.44:1
Closest name
Medium Blue
ΔE2000 3.5
Where it sits
Hue251° of 360°
Saturation100%
Lightness35%
Temperature
Warm ← → Cool77% 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#2000b0
RGBrgb(32, 0, 176)
HSLhsl(251, 100%, 35%)
CMYKcmyk(82%, 100%, 0%, 31%)
LABlab(21.7 60.4 -79.7)
LCHlch(21.7 100.0 307.1)
OKLCHoklch(0.353 0.230 270.7)
Decimal2097328
Display P3color(display-p3 0.125 0.000 0.690)

Copy-ready code

/* CSS */
color: #2000b0;
background-color: #2000b0;
/* Tailwind (arbitrary) */
class="text-[#2000b0] bg-[#2000b0]"
/* SCSS */
$brand: #2000b0;
/* SwiftUI */
Color(red: 0.125, green: 0.000, blue: 0.690)
/* Android */
Color.parseColor("#2000b0")
/* Flutter */
Color(0xFF2000B0)
/* Python / OpenCV (BGR) */
(176, 0, 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 #2000b0 · 12.44:1
Use #ffffffAAA at every size.
Aa
White text · 12.44:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.69:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2000b0 as text scores 12.44:1 on white and 1.69:1 on black.

Accessibility — WCAG contrast

Aa
#2000b0 on white: 12.44:1
AA ✓ pass · AA-large · AAA
Aa
#2000b0 on black: 1.69:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #003CB4
deuteranopia · #002BAD
tritanopia · #004766

Color scale — 50 to 950

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

#F3F1FE
#E8E3FC
#CBC0FC
#A38FFF
#7557FF
#471FFF
#2C00F5
#2500CC
#2000b0
#190576
#100349
Base = 800Lightest = 50 · #F3F1FEDarkest = 950 · #100349
:root {
  --brand-50: #F3F1FE;
  --brand-100: #E8E3FC;
  --brand-200: #CBC0FC;
  --brand-300: #A38FFF;
  --brand-400: #7557FF;
  --brand-500: #471FFF;
  --brand-600: #2C00F5;
  --brand-700: #2500CC;
  --brand-800: #2000b0;
  --brand-900: #190576;
  --brand-950: #100349;
  --brand: #2000b0;
  --brand-ink: #ffffff;
}

Colors that work with #2000b0

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#C8C0ED
Hairlines and dividers
Muted text#594B9B
Captions on the surface
Accent#CCBE00
Second voice, not a rival
Dark variant#170080
Hover, pressed, headers
Light variant#EAE5FF
Selected rows, tints
Dark surface#171424
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 #2000b0

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#90B000
Analogous left#0038B0
Analogous right#7800B0
Split-complement 1#B07800
Split-complement 2#38B000
Triadic 1#B02000
Triadic 2#00B020
Tetradic#B00038

RGB percentages

Red12.5%
Green0.0%
Blue69.0%

CMYK percentages

Cyan81.8%
Magenta100.0%
Yellow0.0%
Key (black)31.0%

Color previews

#2000b0 text on a black background

contrast 1.69:1

Card sample

#2000b0 text on a white background

contrast 12.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2000b0;
Background color
Panel with #2000b0 background
background-color: #2000b0;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2000b0;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(32, 0, 176, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 0, 176, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2000b0;
background: linear-gradient(135deg, #2000b0, #9500B0);

Monochromatic scale

Palettes built from #2000b0

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.

#2000b0 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.

#2000b0, answered

What color is #2000b0?

#2000b0 is a dark electric blue, closest to Medium Blue (ΔE2000 3.5). It sits at 251° on the hue wheel with 100% saturation and 35% lightness, which reads as cool.

What is the RGB value of #2000b0?

rgb(32, 0, 176) — 32 red, 0 green and 176 blue out of 255, or 12.5% / 0% / 69% by channel.

Is #2000b0 a light or a dark color?

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

Should I use black or white text on #2000b0?

White. It scores 12.44:1 against #2000b0, versus 1.69:1 for black — AAA at any size.

What is the complementary color of #2000b0?

#90B000 sits directly opposite on the wheel. Softer options are the split-complements #B07800 and #38B000, which give the same contrast with far less vibration.

What colors go well with #2000b0?

For interface work: #F5F4FA as the surface, #C8C0ED for borders, #594B9B for secondary text, #CCBE00 as an accent and #170080 for hover and pressed states. For a palette, the analogous pair #0038B0 and #7800B0 stays calm, while #90B000 is the loudest partner.

What is #2000b0 in CMYK for printing?

cmyk(82%, 100%, 0%, 31%). 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 #2000b0 warm or cool?

Cool — it scores 77 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6000B0; nudged cooler, #001FB0.

Work with #2000b0 in the Color Lab