Skip to content

#3c18df

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

RGB
60, 24, 223
HSL
251°, 81%, 48%
CMYK
73, 89, 0, 13
Luminance
0.0694

At a glance

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

Hex
#3c18df
Hue
251°
blue
Saturation
81%
electric
Lightness
48%
balanced
Brightness
87%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0694
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Electric
Best ink
White
8.79:1
Closest name
Blue
ΔE2000 3.3
Where it sits
Hue251° of 360°
Saturation81%
Lightness48%
Temperature
Warm ← → Cool77% 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#3c18df
RGBrgb(60, 24, 223)
HSLhsl(251, 81%, 48%)
CMYKcmyk(73%, 89%, 0%, 13%)
LABlab(31.7 67.7 -90.7)
LCHlch(31.7 113.2 306.8)
OKLCHoklch(0.442 0.263 275.0)
Decimal3938527
Display P3color(display-p3 0.235 0.094 0.875)

Copy-ready code

/* CSS */
color: #3c18df;
background-color: #3c18df;
/* Tailwind (arbitrary) */
class="text-[#3c18df] bg-[#3c18df]"
/* SCSS */
$brand: #3c18df;
/* SwiftUI */
Color(red: 0.235, green: 0.094, blue: 0.875)
/* Android */
Color.parseColor("#3c18df")
/* Flutter */
Color(0xFF3C18DF)
/* Python / OpenCV (BGR) */
(223, 24, 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 #3c18df · 8.79:1
Use #ffffffAAA at every size.
Aa
White text · 8.79:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.39:1
AA fail · AA large fail · AAA fail
Reading the other direction: #3c18df as text scores 8.79:1 on white and 2.39:1 on black.

Accessibility — WCAG contrast

Aa
#3c18df on white: 8.79:1
AA ✓ pass · AA-large · AAA
Aa
#3c18df on black: 2.39:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0053E4
deuteranopia · #0042DC
tritanopia · #005F84

Color scale — 50 to 950

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

#F4F3FC
#EAE6F9
#CFC6F5
#AA9AF4
#8067EF
#5534E9
#3c18df
#3214B8
#281093
#20106B
#140A43
Base = 600Lightest = 50 · #F4F3FCDarkest = 950 · #140A43
:root {
  --brand-50: #F4F3FC;
  --brand-100: #EAE6F9;
  --brand-200: #CFC6F5;
  --brand-300: #AA9AF4;
  --brand-400: #8067EF;
  --brand-500: #5534E9;
  --brand-600: #3c18df;
  --brand-700: #3214B8;
  --brand-800: #281093;
  --brand-900: #20106B;
  --brand-950: #140A43;
  --brand: #3c18df;
  --brand-ink: #ffffff;
}

Colors that work with #3c18df

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#C8C0ED
Hairlines and dividers
Muted text#594B9B
Captions on the surface
Accent#BCB110
Second voice, not a rival
Dark variant#1F0C73
Hover, pressed, headers
Light variant#ECE8FD
Selected rows, tints
Dark surface#171424
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 #3c18df

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#BBDF18
Analogous left#1857DF
Analogous right#A018DF
Split-complement 1#DFA018
Split-complement 2#57DF18
Triadic 1#DF3C18
Triadic 2#18DF3C
Tetradic#DF1857

RGB percentages

Red23.5%
Green9.4%
Blue87.5%

CMYK percentages

Cyan73.1%
Magenta89.2%
Yellow0.0%
Key (black)12.5%

Color previews

#3c18df text on a black background

contrast 2.39:1

Card sample

#3c18df text on a white background

contrast 8.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3c18df

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.

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

#3c18df, answered

What color is #3c18df?

#3c18df is a balanced electric blue, closest to Blue (ΔE2000 3.3). It sits at 251° on the hue wheel with 81% saturation and 48% lightness, which reads as cool.

What is the RGB value of #3c18df?

rgb(60, 24, 223) — 60 red, 24 green and 223 blue out of 255, or 23.5% / 9.4% / 87.5% by channel.

Is #3c18df a light or a dark color?

It is a dark color. Relative luminance is 0.0694 and perceived brightness is 33%, so white text on it reaches 8.79:1.

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

White. It scores 8.79:1 against #3c18df, versus 2.39:1 for black — AAA at any size.

What is the complementary color of #3c18df?

#BBDF18 sits directly opposite on the wheel. Softer options are the split-complements #DFA018 and #57DF18, which give the same contrast with far less vibration.

What colors go well with #3c18df?

For interface work: #F5F4FA as the surface, #C8C0ED for borders, #594B9B for secondary text, #BCB110 as an accent and #1F0C73 for hover and pressed states. For a palette, the analogous pair #1857DF and #A018DF stays calm, while #BBDF18 is the loudest partner.

What is #3c18df in CMYK for printing?

cmyk(73%, 89%, 0%, 13%). 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 #3c18df warm or cool?

Cool — it scores 77 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8518DF; nudged cooler, #1535E1.

Work with #3c18df in the Color Lab