Skip to content

#260dbb

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

RGB
38, 13, 187
HSL
249°, 87%, 39%
CMYK
80, 93, 0, 27
Luminance
0.0429

At a glance

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

Hex
#260dbb
Hue
249°
blue
Saturation
87%
electric
Lightness
39%
dark
Brightness
73%
HSV value
Perceived
26%
weighted brightness
Luminance
0.0429
WCAG relative
Temperature
Cool
79/100 cool
Color family
Blue
Tone
Electric
Best ink
White
11.31:1
Closest name
Medium Blue
ΔE2000 2.2
Where it sits
Hue249° of 360°
Saturation87%
Lightness39%
Temperature
Warm ← → Cool79% 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#260dbb
RGBrgb(38, 13, 187)
HSLhsl(249, 87%, 39%)
CMYKcmyk(80%, 93%, 0%, 27%)
LABlab(24.6 60.3 -81.5)
LCHlch(24.6 101.4 306.5)
OKLCHoklch(0.378 0.235 271.5)
Decimal2493883
Display P3color(display-p3 0.149 0.051 0.733)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#260dbb on white: 11.31:1
AA ✓ pass · AA-large · AAA
Aa
#260dbb on black: 1.86: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. #260dbb 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
#A496F8
#7762F4
#492DF0
#2E10E5
#260dbb
#1F0B99
#1A0C6E
#100845
Base = 700Lightest = 50 · #F4F2FDDarkest = 950 · #100845
:root {
  --brand-50: #F4F2FD;
  --brand-100: #E8E5FA;
  --brand-200: #CCC4F7;
  --brand-300: #A496F8;
  --brand-400: #7762F4;
  --brand-500: #492DF0;
  --brand-600: #2E10E5;
  --brand-700: #260dbb;
  --brand-800: #1F0B99;
  --brand-900: #1A0C6E;
  --brand-950: #100845;
  --brand: #260dbb;
  --brand-ink: #ffffff;
}

Colors that work with #260dbb

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#C6C0ED
Hairlines and dividers
Muted text#564B9B
Captions on the surface
Accent#C3AF09
Second voice, not a rival
Dark variant#180877
Hover, pressed, headers
Light variant#EAE7FD
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 #260dbb

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#A2BB0D
Analogous left#0D4BBB
Analogous right#7D0DBB
Split-complement 1#BB7D0D
Split-complement 2#4BBB0D
Triadic 1#BB260D
Triadic 2#0DBB26
Tetradic#BB0D4B

RGB percentages

Red14.9%
Green5.1%
Blue73.3%

CMYK percentages

Cyan79.7%
Magenta93.0%
Yellow0.0%
Key (black)26.7%

Color previews

#260dbb text on a black background

contrast 1.86:1

Card sample

#260dbb text on a white background

contrast 11.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #260dbb

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.

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

#260dbb, answered

What color is #260dbb?

#260dbb 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 #260dbb?

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

Is #260dbb a light or a dark color?

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

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

White. It scores 11.31:1 against #260dbb, versus 1.86:1 for black — AAA at any size.

What is the complementary color of #260dbb?

#A2BB0D sits directly opposite on the wheel. Softer options are the split-complements #BB7D0D and #4BBB0D, which give the same contrast with far less vibration.

What colors go well with #260dbb?

For interface work: #F5F4FA as the surface, #C6C0ED for borders, #564B9B for secondary text, #C3AF09 as an accent and #180877 for hover and pressed states. For a palette, the analogous pair #0D4BBB and #7D0DBB stays calm, while #A2BB0D is the loudest partner.

What is #260dbb in CMYK for printing?

cmyk(80%, 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 #260dbb warm or cool?

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

Work with #260dbb in the Color Lab