Skip to content

#3c22eb

a balanced, electric blue · cool · closest name: Blue

RGB
60, 34, 235
HSL
248°, 83%, 53%
CMYK
75, 86, 0, 8
Luminance
0.0810

At a glance

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

Hex
#3c22eb
Hue
248°
blue
Saturation
83%
electric
Lightness
53%
balanced
Brightness
92%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0810
WCAG relative
Temperature
Cool
79/100 cool
Color family
Blue
Tone
Electric
Best ink
White
8.01:1
Closest name
Blue
ΔE2000 3.1
Where it sits
Hue248° of 360°
Saturation83%
Lightness53%
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#3c22eb
RGBrgb(60, 34, 235)
HSLhsl(248, 83%, 53%)
CMYKcmyk(75%, 86%, 0%, 8%)
LABlab(34.2 67.7 -93.3)
LCHlch(34.2 115.3 306.0)
OKLCHoklch(0.463 0.270 273.7)
Decimal3941099
Display P3color(display-p3 0.235 0.133 0.922)

Copy-ready code

/* CSS */
color: #3c22eb;
background-color: #3c22eb;
/* Tailwind (arbitrary) */
class="text-[#3c22eb] bg-[#3c22eb]"
/* SCSS */
$brand: #3c22eb;
/* SwiftUI */
Color(red: 0.235, green: 0.133, blue: 0.922)
/* Android */
Color.parseColor("#3c22eb")
/* Flutter */
Color(0xFF3C22EB)
/* Python / OpenCV (BGR) */
(235, 34, 60)

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

Accessibility — WCAG contrast

Aa
#3c22eb on white: 8.01:1
AA ✓ pass · AA-large · AAA
Aa
#3c22eb on black: 2.62:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0059F0
deuteranopia · #0047E8
tritanopia · #00668C

Color scale — 50 to 950

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

#F4F2FC
#E8E6FA
#CCC6F6
#A498F6
#7765F1
#3c22eb
#2F14E0
#2711BB
#1F0E96
#1A0E6C
#110944
Base = 500Lightest = 50 · #F4F2FCDarkest = 950 · #110944
:root {
  --brand-50: #F4F2FC;
  --brand-100: #E8E6FA;
  --brand-200: #CCC6F6;
  --brand-300: #A498F6;
  --brand-400: #7765F1;
  --brand-500: #3c22eb;
  --brand-600: #2F14E0;
  --brand-700: #2711BB;
  --brand-800: #1F0E96;
  --brand-900: #1A0E6C;
  --brand-950: #110944;
  --brand: #3c22eb;
  --brand-ink: #ffffff;
}

Colors that work with #3c22eb

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#554B9B
Captions on the surface
Accent#BFAA0D
Second voice, not a rival
Dark variant#180B75
Hover, pressed, headers
Light variant#EAE8FD
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 #3c22eb

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#D1EB22
Analogous left#226CEB
Analogous right#A122EB
Split-complement 1#EBA122
Split-complement 2#6CEB22
Triadic 1#EB3C22
Triadic 2#22EB3C
Tetradic#EB226C

RGB percentages

Red23.5%
Green13.3%
Blue92.2%

CMYK percentages

Cyan74.5%
Magenta85.5%
Yellow0.0%
Key (black)7.8%

Color previews

#3c22eb text on a black background

contrast 2.62:1

Card sample

#3c22eb text on a white background

contrast 8.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3c22eb;
Background color
Panel with #3c22eb background
background-color: #3c22eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3c22eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(60, 34, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(60, 34, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3c22eb;
background: linear-gradient(135deg, #3c22eb, #C222EB);

Monochromatic scale

Palettes built from #3c22eb

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.

#3c22eb 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.

#3c22eb, answered

What color is #3c22eb?

#3c22eb is a balanced electric blue, closest to Blue (ΔE2000 3.1). It sits at 248° on the hue wheel with 83% saturation and 53% lightness, which reads as cool.

What is the RGB value of #3c22eb?

rgb(60, 34, 235) — 60 red, 34 green and 235 blue out of 255, or 23.5% / 13.3% / 92.2% by channel.

Is #3c22eb a light or a dark color?

It is a dark color. Relative luminance is 0.0810 and perceived brightness is 35%, so white text on it reaches 8.01:1.

Should I use black or white text on #3c22eb?

White. It scores 8.01:1 against #3c22eb, versus 2.62:1 for black — AAA at any size.

What is the complementary color of #3c22eb?

#D1EB22 sits directly opposite on the wheel. Softer options are the split-complements #EBA122 and #6CEB22, which give the same contrast with far less vibration.

What colors go well with #3c22eb?

For interface work: #F5F4FA as the surface, #C6C0ED for borders, #554B9B for secondary text, #BFAA0D as an accent and #180B75 for hover and pressed states. For a palette, the analogous pair #226CEB and #A122EB stays calm, while #D1EB22 is the loudest partner.

What is #3c22eb in CMYK for printing?

cmyk(75%, 86%, 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 #3c22eb 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 #8622EB; nudged cooler, #1F44ED.

Work with #3c22eb in the Color Lab