Skip to content

#280dbb

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

RGB
40, 13, 187
HSL
249°, 87%, 39%
CMYK
79, 93, 0, 27
Luminance
0.0433

At a glance

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

Hex
#280dbb
Hue
249°
blue
Saturation
87%
electric
Lightness
39%
dark
Brightness
73%
HSV value
Perceived
26%
weighted brightness
Luminance
0.0433
WCAG relative
Temperature
Cool
78/100 cool
Color family
Blue
Tone
Electric
Best ink
White
11.26:1
Closest name
Medium Blue
ΔE2000 2.2
Where it sits
Hue249° of 360°
Saturation87%
Lightness39%
Temperature
Warm ← → Cool78% 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#280dbb
RGBrgb(40, 13, 187)
HSLhsl(249, 87%, 39%)
CMYKcmyk(79%, 93%, 0%, 27%)
LABlab(24.7 60.4 -81.3)
LCHlch(24.7 101.3 306.6)
OKLCHoklch(0.379 0.235 272.2)
Decimal2624955
Display P3color(display-p3 0.157 0.051 0.733)

Copy-ready code

/* CSS */
color: #280dbb;
background-color: #280dbb;
/* Tailwind (arbitrary) */
class="text-[#280dbb] bg-[#280dbb]"
/* SCSS */
$brand: #280dbb;
/* SwiftUI */
Color(red: 0.157, green: 0.051, blue: 0.733)
/* Android */
Color.parseColor("#280dbb")
/* Flutter */
Color(0xFF280DBB)
/* Python / OpenCV (BGR) */
(187, 13, 40)

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

Accessibility — WCAG contrast

Aa
#280dbb on white: 11.26:1
AA ✓ pass · AA-large · AAA
Aa
#280dbb on black: 1.87:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0042BF
deuteranopia · #0032B8
tritanopia · #004E6D

Color scale — 50 to 950

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

#F4F2FD
#E8E5FA
#CCC4F7
#A596F8
#7862F4
#4B2DF0
#3110E5
#280dbb
#210B99
#1B0C6E
#110845
Base = 700Lightest = 50 · #F4F2FDDarkest = 950 · #110845
:root {
  --brand-50: #F4F2FD;
  --brand-100: #E8E5FA;
  --brand-200: #CCC4F7;
  --brand-300: #A596F8;
  --brand-400: #7862F4;
  --brand-500: #4B2DF0;
  --brand-600: #3110E5;
  --brand-700: #280dbb;
  --brand-800: #210B99;
  --brand-900: #1B0C6E;
  --brand-950: #110845;
  --brand: #280dbb;
  --brand-ink: #ffffff;
}

Colors that work with #280dbb

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#C7C0ED
Hairlines and dividers
Muted text#574B9B
Captions on the surface
Accent#C3B109
Second voice, not a rival
Dark variant#190877
Hover, pressed, headers
Light variant#EBE7FD
Selected rows, tints
Dark surface#161424
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 #280dbb

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#A0BB0D
Analogous left#0D49BB
Analogous right#7F0DBB
Split-complement 1#BB7F0D
Split-complement 2#49BB0D
Triadic 1#BB280D
Triadic 2#0DBB28
Tetradic#BB0D49

RGB percentages

Red15.7%
Green5.1%
Blue73.3%

CMYK percentages

Cyan78.6%
Magenta93.0%
Yellow0.0%
Key (black)26.7%

Color previews

#280dbb text on a black background

contrast 1.87:1

Card sample

#280dbb text on a white background

contrast 11.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #280dbb;
Background color
Panel with #280dbb background
background-color: #280dbb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #280dbb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(40, 13, 187, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 13, 187, 0.45);
Border & gradient
Gradient panel
border: 3px solid #280dbb;
background: linear-gradient(135deg, #280dbb, #9C0DBB);

Monochromatic scale

Palettes built from #280dbb

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.

#280dbb 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.

#280dbb, answered

What color is #280dbb?

#280dbb is a dark electric blue, closest to Medium Blue (ΔE2000 2.2). It sits at 249° on the hue wheel with 87% saturation and 39% lightness, which reads as cool.

What is the RGB value of #280dbb?

rgb(40, 13, 187) — 40 red, 13 green and 187 blue out of 255, or 15.7% / 5.1% / 73.3% by channel.

Is #280dbb a light or a dark color?

It is a dark color. Relative luminance is 0.0433 and perceived brightness is 26%, so white text on it reaches 11.26:1.

Should I use black or white text on #280dbb?

White. It scores 11.26:1 against #280dbb, versus 1.87:1 for black — AAA at any size.

What is the complementary color of #280dbb?

#A0BB0D sits directly opposite on the wheel. Softer options are the split-complements #BB7F0D and #49BB0D, which give the same contrast with far less vibration.

What colors go well with #280dbb?

For interface work: #F5F4FA as the surface, #C7C0ED for borders, #574B9B for secondary text, #C3B109 as an accent and #190877 for hover and pressed states. For a palette, the analogous pair #0D49BB and #7F0DBB stays calm, while #A0BB0D is the loudest partner.

What is #280dbb in CMYK for printing?

cmyk(79%, 93%, 0%, 27%). 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 #280dbb warm or cool?

Cool — it scores 78 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #680DBB; nudged cooler, #0B2DBD.

Work with #280dbb in the Color Lab