Skip to content

#3103c4

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

RGB
49, 3, 196
HSL
254°, 97%, 39%
CMYK
75, 99, 0, 23
Luminance
0.0470

At a glance

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

Hex
#3103c4
Hue
254°
blue
Saturation
97%
electric
Lightness
39%
dark
Brightness
77%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0470
WCAG relative
Temperature
Cool
75/100 cool
Color family
Blue
Tone
Electric
Best ink
White
10.82:1
Closest name
Medium Blue
ΔE2000 1.9
Where it sits
Hue254° of 360°
Saturation97%
Lightness39%
Temperature
Warm ← → Cool75% 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#3103c4
RGBrgb(49, 3, 196)
HSLhsl(254, 97%, 39%)
CMYKcmyk(75%, 99%, 0%, 23%)
LABlab(25.9 65.1 -84.7)
LCHlch(25.9 106.8 307.6)
OKLCHoklch(0.391 0.245 274.5)
Decimal3212228
Display P3color(display-p3 0.192 0.012 0.769)

Copy-ready code

/* CSS */
color: #3103c4;
background-color: #3103c4;
/* Tailwind (arbitrary) */
class="text-[#3103c4] bg-[#3103c4]"
/* SCSS */
$brand: #3103c4;
/* SwiftUI */
Color(red: 0.192, green: 0.012, blue: 0.769)
/* Android */
Color.parseColor("#3103c4")
/* Flutter */
Color(0xFF3103C4)
/* Python / OpenCV (BGR) */
(196, 3, 49)

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

Accessibility — WCAG contrast

Aa
#3103c4 on white: 10.82:1
AA ✓ pass · AA-large · AAA
Aa
#3103c4 on black: 1.94:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0045C8
deuteranopia · #0035C1
tritanopia · #005072

Color scale — 50 to 950

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

#F4F1FD
#E9E4FC
#CFC1FB
#AA90FD
#8059FC
#5622FC
#3C04F1
#3103c4
#2802A1
#210774
#140448
Base = 700Lightest = 50 · #F4F1FDDarkest = 950 · #140448
:root {
  --brand-50: #F4F1FD;
  --brand-100: #E9E4FC;
  --brand-200: #CFC1FB;
  --brand-300: #AA90FD;
  --brand-400: #8059FC;
  --brand-500: #5622FC;
  --brand-600: #3C04F1;
  --brand-700: #3103c4;
  --brand-800: #2802A1;
  --brand-900: #210774;
  --brand-950: #140448;
  --brand: #3103c4;
  --brand-ink: #ffffff;
}

Colors that work with #3103c4

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#F6F4FA
Tinted page background
Border#CAC0ED
Hairlines and dividers
Muted text#5E4B9B
Captions on the surface
Accent#CCCA00
Second voice, not a rival
Dark variant#1F027E
Hover, pressed, headers
Light variant#ECE6FF
Selected rows, tints
Dark surface#181424
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 #3103c4

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#96C403
Analogous left#0335C4
Analogous right#9103C4
Split-complement 1#C49103
Split-complement 2#35C403
Triadic 1#C43103
Triadic 2#03C431
Tetradic#C40335

RGB percentages

Red19.2%
Green1.2%
Blue76.9%

CMYK percentages

Cyan75.0%
Magenta98.5%
Yellow0.0%
Key (black)23.1%

Color previews

#3103c4 text on a black background

contrast 1.94:1

Card sample

#3103c4 text on a white background

contrast 10.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3103c4;
Background color
Panel with #3103c4 background
background-color: #3103c4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3103c4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(49, 3, 196, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(49, 3, 196, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3103c4;
background: linear-gradient(135deg, #3103c4, #B203C4);

Monochromatic scale

Palettes built from #3103c4

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.

#3103c4 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.

#3103c4, answered

What color is #3103c4?

#3103c4 is a dark electric blue, closest to Medium Blue (ΔE2000 1.9). It sits at 254° on the hue wheel with 97% saturation and 39% lightness, which reads as cool.

What is the RGB value of #3103c4?

rgb(49, 3, 196) — 49 red, 3 green and 196 blue out of 255, or 19.2% / 1.2% / 76.9% by channel.

Is #3103c4 a light or a dark color?

It is a dark color. Relative luminance is 0.0470 and perceived brightness is 28%, so white text on it reaches 10.82:1.

Should I use black or white text on #3103c4?

White. It scores 10.82:1 against #3103c4, versus 1.94:1 for black — AAA at any size.

What is the complementary color of #3103c4?

#96C403 sits directly opposite on the wheel. Softer options are the split-complements #C49103 and #35C403, which give the same contrast with far less vibration.

What colors go well with #3103c4?

For interface work: #F6F4FA as the surface, #CAC0ED for borders, #5E4B9B for secondary text, #CCCA00 as an accent and #1F027E for hover and pressed states. For a palette, the analogous pair #0335C4 and #9103C4 stays calm, while #96C403 is the loudest partner.

What is #3103c4 in CMYK for printing?

cmyk(75%, 99%, 0%, 23%). 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 #3103c4 warm or cool?

Cool — it scores 75 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7803C4; nudged cooler, #011AC6.

Work with #3103c4 in the Color Lab