Skip to content

#261fd2

a balanced, vivid blue · cool · closest name: Medium Blue

RGB
38, 31, 210
HSL
242°, 74%, 47%
CMYK
82, 85, 0, 18
Luminance
0.0605

At a glance

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

Hex
#261fd2
Hue
242°
blue
Saturation
74%
vivid
Lightness
47%
balanced
Brightness
82%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0605
WCAG relative
Temperature
Cool
82/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
9.51:1
Closest name
Medium Blue
ΔE2000 3.7
Where it sits
Hue242° of 360°
Saturation74%
Lightness47%
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#261fd2
RGBrgb(38, 31, 210)
HSLhsl(242, 74%, 47%)
CMYKcmyk(82%, 85%, 0%, 18%)
LABlab(29.5 60.9 -86.8)
LCHlch(29.5 106.0 305.0)
OKLCHoklch(0.419 0.251 269.7)
Decimal2498514
Display P3color(display-p3 0.149 0.122 0.824)

Copy-ready code

/* CSS */
color: #261fd2;
background-color: #261fd2;
/* Tailwind (arbitrary) */
class="text-[#261fd2] bg-[#261fd2]"
/* SCSS */
$brand: #261fd2;
/* SwiftUI */
Color(red: 0.149, green: 0.122, blue: 0.824)
/* Android */
Color.parseColor("#261fd2")
/* Flutter */
Color(0xFF261FD2)
/* Python / OpenCV (BGR) */
(210, 31, 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 #261fd2 · 9.51:1
Use #ffffffAAA at every size.
Aa
White text · 9.51:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.21:1
AA fail · AA large fail · AAA fail
Reading the other direction: #261fd2 as text scores 9.51:1 on white and 2.21:1 on black.

Accessibility — WCAG contrast

Aa
#261fd2 on white: 9.51:1
AA ✓ pass · AA-large · AAA
Aa
#261fd2 on black: 2.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004ED7
deuteranopia · #003CCF
tritanopia · #005C7D

Color scale — 50 to 950

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

#F3F3FC
#E8E7F9
#CAC8F4
#A09DF1
#716CE9
#423BE2
#261fd2
#201AB2
#1A158E
#171367
#0E0C40
Base = 600Lightest = 50 · #F3F3FCDarkest = 950 · #0E0C40
:root {
  --brand-50: #F3F3FC;
  --brand-100: #E8E7F9;
  --brand-200: #CAC8F4;
  --brand-300: #A09DF1;
  --brand-400: #716CE9;
  --brand-500: #423BE2;
  --brand-600: #261fd2;
  --brand-700: #201AB2;
  --brand-800: #1A158E;
  --brand-900: #171367;
  --brand-950: #0E0C40;
  --brand: #261fd2;
  --brand-ink: #ffffff;
}

Colors that work with #261fd2

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#C1C0ED
Hairlines and dividers
Muted text#4E4B9B
Captions on the surface
Accent#B69416
Second voice, not a rival
Dark variant#14106F
Hover, pressed, headers
Light variant#EAE9FC
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 #261fd2

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#CBD21F
Analogous left#1F72D2
Analogous right#7F1FD2
Split-complement 1#D27F1F
Split-complement 2#72D21F
Triadic 1#D2261F
Triadic 2#1FD226
Tetradic#D21F72

RGB percentages

Red14.9%
Green12.2%
Blue82.4%

CMYK percentages

Cyan81.9%
Magenta85.2%
Yellow0.0%
Key (black)17.6%

Color previews

#261fd2 text on a black background

contrast 2.21:1

Card sample

#261fd2 text on a white background

contrast 9.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #261fd2;
Background color
Panel with #261fd2 background
background-color: #261fd2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #261fd2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(38, 31, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(38, 31, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #261fd2;
background: linear-gradient(135deg, #261fd2, #9D1FD2);

Monochromatic scale

Palettes built from #261fd2

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.

#261fd2 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

Converts to four-color process without much drama. Proof it anyway.

#261fd2, answered

What color is #261fd2?

#261fd2 is a balanced vivid blue, closest to Medium Blue (ΔE2000 3.7). It sits at 242° on the hue wheel with 74% saturation and 47% lightness, which reads as cool.

What is the RGB value of #261fd2?

rgb(38, 31, 210) — 38 red, 31 green and 210 blue out of 255, or 14.9% / 12.2% / 82.4% by channel.

Is #261fd2 a light or a dark color?

It is a dark color. Relative luminance is 0.0605 and perceived brightness is 30%, so white text on it reaches 9.51:1.

Should I use black or white text on #261fd2?

White. It scores 9.51:1 against #261fd2, versus 2.21:1 for black — AAA at any size.

What is the complementary color of #261fd2?

#CBD21F sits directly opposite on the wheel. Softer options are the split-complements #D27F1F and #72D21F, which give the same contrast with far less vibration.

What colors go well with #261fd2?

For interface work: #F5F4FA as the surface, #C1C0ED for borders, #4E4B9B for secondary text, #B69416 as an accent and #14106F for hover and pressed states. For a palette, the analogous pair #1F72D2 and #7F1FD2 stays calm, while #CBD21F is the loudest partner.

What is #261fd2 in CMYK for printing?

cmyk(82%, 85%, 0%, 18%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #261fd2 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 #681FD2; nudged cooler, #1D47D5.

Work with #261fd2 in the Color Lab