Skip to content

#3c7fec

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

RGB
60, 127, 236
HSL
217°, 82%, 58%
CMYK
75, 46, 0, 8
Luminance
0.2220

At a glance

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

Hex
#3c7fec
Hue
217°
blue
Saturation
82%
electric
Lightness
58%
balanced
Brightness
93%
HSV value
Perceived
51%
weighted brightness
Luminance
0.2220
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.44:1
Closest name
Steel Blue
ΔE2000 6.3
Where it sits
Hue217° of 360°
Saturation82%
Lightness58%
Temperature
Warm ← → Cool96% 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#3c7fec
RGBrgb(60, 127, 236)
HSLhsl(217, 82%, 58%)
CMYKcmyk(75%, 46%, 0%, 8%)
LABlab(54.2 15.9 -61.1)
LCHlch(54.2 63.1 284.6)
OKLCHoklch(0.610 0.178 259.7)
Decimal3964908
Display P3color(display-p3 0.235 0.498 0.925)

Copy-ready code

/* CSS */
color: #3c7fec;
background-color: #3c7fec;
/* Tailwind (arbitrary) */
class="text-[#3c7fec] bg-[#3c7fec]"
/* SCSS */
$brand: #3c7fec;
/* SwiftUI */
Color(red: 0.235, green: 0.498, blue: 0.925)
/* Android */
Color.parseColor("#3c7fec")
/* Flutter */
Color(0xFF3C7FEC)
/* Python / OpenCV (BGR) */
(236, 127, 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#000000 on #3c7fec · 5.44:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.86:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.44:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #3c7fec as text scores 3.86:1 on white and 5.44:1 on black.

Accessibility — WCAG contrast

Aa
#3c7fec on white: 3.86:1
AA ✗ fail · AA-large · AAA
Aa
#3c7fec on black: 5.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #448AF0
deuteranopia · #167AEA
tritanopia · #0099AA

Color scale — 50 to 950

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

#F2F6FC
#E6EDFA
#C6D8F6
#99BCF5
#669AF0
#3c7fec
#1662DF
#1252BA
#0F4295
#0F326B
#091F43
Base = 500Lightest = 50 · #F2F6FCDarkest = 950 · #091F43
:root {
  --brand-50: #F2F6FC;
  --brand-100: #E6EDFA;
  --brand-200: #C6D8F6;
  --brand-300: #99BCF5;
  --brand-400: #669AF0;
  --brand-500: #3c7fec;
  --brand-600: #1662DF;
  --brand-700: #1252BA;
  --brand-800: #0F4295;
  --brand-900: #0F326B;
  --brand-950: #091F43;
  --brand: #3c7fec;
  --brand-ink: #000000;
}

Colors that work with #3c7fec

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#F4F7FA
Tinted page background
Border#C0D1ED
Hairlines and dividers
Muted text#4B699B
Captions on the surface
Accent#BE4F0E
Second voice, not a rival
Dark variant#0B3374
Hover, pressed, headers
Light variant#E8F0FD
Selected rows, tints
Dark surface#141A24
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 #3c7fec

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
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#ECA93C
Analogous left#3CD7EC
Analogous right#513CEC
Split-complement 1#EC513C
Split-complement 2#D7EC3C
Triadic 1#EC3C7F
Triadic 2#7FEC3C
Tetradic#EC3CD7

RGB percentages

Red23.5%
Green49.8%
Blue92.5%

CMYK percentages

Cyan74.6%
Magenta46.2%
Yellow0.0%
Key (black)7.5%

Color previews

#3c7fec text on a black background

contrast 5.44:1

Card sample

#3c7fec text on a white background

contrast 3.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(60, 127, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(60, 127, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3c7fec;
background: linear-gradient(135deg, #3c7fec, #6E3CEC);

Monochromatic scale

Palettes built from #3c7fec

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.

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

#3c7fec, answered

What color is #3c7fec?

#3c7fec is a balanced electric blue, closest to Steel Blue (ΔE2000 6.3). It sits at 217° on the hue wheel with 82% saturation and 58% lightness, which reads as cool.

What is the RGB value of #3c7fec?

rgb(60, 127, 236) — 60 red, 127 green and 236 blue out of 255, or 23.5% / 49.8% / 92.5% by channel.

Is #3c7fec a light or a dark color?

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

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

Black. It scores 5.44:1 against #3c7fec, versus 3.86:1 for white — AA at any size.

What is the complementary color of #3c7fec?

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

What colors go well with #3c7fec?

For interface work: #F4F7FA as the surface, #C0D1ED for borders, #4B699B for secondary text, #BE4F0E as an accent and #0B3374 for hover and pressed states. For a palette, the analogous pair #3CD7EC and #513CEC stays calm, while #ECA93C is the loudest partner.

What is #3c7fec in CMYK for printing?

cmyk(75%, 46%, 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 #3c7fec warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3C3EEC; nudged cooler, #2279EC.

Work with #3c7fec in the Color Lab