Skip to content

#6971eb

a light, electric blue · cool · closest name: Medium Slate Blue

RGB
105, 113, 235
HSL
236°, 77%, 67%
CMYK
55, 52, 0, 8
Luminance
0.2081

At a glance

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

Hex
#6971eb
Hue
236°
blue
Saturation
77%
electric
Lightness
67%
light
Brightness
92%
HSV value
Perceived
51%
weighted brightness
Luminance
0.2081
WCAG relative
Temperature
Cool
85/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.16:1
Closest name
Medium Slate Blue
ΔE2000 4.6
Where it sits
Hue236° of 360°
Saturation77%
Lightness67%
Temperature
Warm ← → Cool85% 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#6971eb
RGBrgb(105, 113, 235)
HSLhsl(236, 77%, 67%)
CMYKcmyk(55%, 52%, 0%, 8%)
LABlab(52.7 31.3 -62.8)
LCHlch(52.7 70.2 296.4)
OKLCHoklch(0.605 0.181 276.7)
Decimal6910443
Display P3color(display-p3 0.412 0.443 0.922)

Copy-ready code

/* CSS */
color: #6971eb;
background-color: #6971eb;
/* Tailwind (arbitrary) */
class="text-[#6971eb] bg-[#6971eb]"
/* SCSS */
$brand: #6971eb;
/* SwiftUI */
Color(red: 0.412, green: 0.443, blue: 0.922)
/* Android */
Color.parseColor("#6971eb")
/* Flutter */
Color(0xFF6971EB)
/* Python / OpenCV (BGR) */
(235, 113, 105)

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#000000 on #6971eb · 5.16:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.07:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.16:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #6971eb as text scores 4.07:1 on white and 5.16:1 on black.

Accessibility — WCAG contrast

Aa
#6971eb on white: 4.07:1
AA ✗ fail · AA-large · AAA
Aa
#6971eb on black: 5.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2C83EF
deuteranopia · #0F79E8
tritanopia · #228DA3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #6971eb is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3F3FC
#E7E8F9
#C8CAF4
#9CA1F2
#6971eb
#3944E5
#1D28D8
#1822B4
#131B90
#121768
#0B0F41
Base = 400Lightest = 50 · #F3F3FCDarkest = 950 · #0B0F41
:root {
  --brand-50: #F3F3FC;
  --brand-100: #E7E8F9;
  --brand-200: #C8CAF4;
  --brand-300: #9CA1F2;
  --brand-400: #6971eb;
  --brand-500: #3944E5;
  --brand-600: #1D28D8;
  --brand-700: #1822B4;
  --brand-800: #131B90;
  --brand-900: #121768;
  --brand-950: #0B0F41;
  --brand: #6971eb;
  --brand-ink: #000000;
}

Colors that work with #6971eb

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F5FA
Tinted page background
Border#C0C3ED
Hairlines and dividers
Muted text#4B509B
Captions on the surface
Accent#B88514
Second voice, not a rival
Dark variant#0F1571
Hover, pressed, headers
Light variant#E8EAFC
Selected rows, tints
Dark surface#141524
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 #6971eb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • White 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#EBE369
Analogous left#69B2EB
Analogous right#A269EB
Split-complement 1#EBA269
Split-complement 2#B2EB69
Triadic 1#EB6971
Triadic 2#71EB69
Tetradic#EB69B2

RGB percentages

Red41.2%
Green44.3%
Blue92.2%

CMYK percentages

Cyan55.3%
Magenta51.9%
Yellow0.0%
Key (black)7.8%

Color previews

#6971eb text on a black background

contrast 5.16:1

Card sample

#6971eb text on a white background

contrast 4.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #6971eb

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.

#6971eb 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#6971eb, answered

What color is #6971eb?

#6971eb is a light electric blue, closest to Medium Slate Blue (ΔE2000 4.6). It sits at 236° on the hue wheel with 77% saturation and 67% lightness, which reads as cool.

What is the RGB value of #6971eb?

rgb(105, 113, 235) — 105 red, 113 green and 235 blue out of 255, or 41.2% / 44.3% / 92.2% by channel.

Is #6971eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2081 and perceived brightness is 51%, so black text on it reaches 5.16:1.

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

Black. It scores 5.16:1 against #6971eb, versus 4.07:1 for white — AA at any size.

What is the complementary color of #6971eb?

#EBE369 sits directly opposite on the wheel. Softer options are the split-complements #EBA269 and #B2EB69, which give the same contrast with far less vibration.

What colors go well with #6971eb?

For interface work: #F4F5FA as the surface, #C0C3ED for borders, #4B509B for secondary text, #B88514 as an accent and #0F1571 for hover and pressed states. For a palette, the analogous pair #69B2EB and #A269EB stays calm, while #EBE369 is the loudest partner.

What is #6971eb in CMYK for printing?

cmyk(55%, 52%, 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 #6971eb warm or cool?

Cool — it scores 85 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9169EB; nudged cooler, #6790ED.

Work with #6971eb in the Color Lab