Skip to content

#1c02fd

a balanced, electric blue · cool · “Blue”

RGB
28, 2, 253
HSL
246°, 98%, 50%
CMYK
89, 99, 0, 1
Luminance
0.0738

At a glance

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

Hex
#1c02fd
Hue
246°
blue
Saturation
98%
electric
Lightness
50%
balanced
Brightness
99%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0738
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Electric
Best ink
White
8.48:1
Closest name
Blue
ΔE2000 0.5
Where it sits
Hue246° of 360°
Saturation98%
Lightness50%
Temperature
Warm ← → Cool80% 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#1c02fd
RGBrgb(28, 2, 253)
HSLhsl(246, 98%, 50%)
CMYKcmyk(89%, 99%, 0%, 1%)
LABlab(32.7 78.6 -106.1)
LCHlch(32.7 132.1 306.5)
OKLCHoklch(0.455 0.307 266.6)
Decimal1835773
Display P3color(display-p3 0.110 0.008 0.992)

Copy-ready code

/* CSS */
color: #1c02fd;
background-color: #1c02fd;
/* Tailwind (arbitrary) */
class="text-[#1c02fd] bg-[#1c02fd]"
/* SCSS */
$brand: #1c02fd;
/* SwiftUI */
Color(red: 0.110, green: 0.008, blue: 0.992)
/* Android */
Color.parseColor("#1c02fd")
/* Flutter */
Color(0xFF1C02FD)
/* Python / OpenCV (BGR) */
(253, 2, 28)

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

Accessibility — WCAG contrast

Aa
#1c02fd on white: 8.48:1
AA ✓ pass · AA-large · AAA
Aa
#1c02fd on black: 2.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0059FF
deuteranopia · #003FF9
tritanopia · #006A95

Color scale — 50 to 950

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

#F2F1FE
#E6E3FC
#C7C1FB
#9B90FE
#6958FE
#3720FD
#1c02fd
#1602CA
#1201A2
#110675
#0B0449
Base = 600Lightest = 50 · #F2F1FEDarkest = 950 · #0B0449
:root {
  --brand-50: #F2F1FE;
  --brand-100: #E6E3FC;
  --brand-200: #C7C1FB;
  --brand-300: #9B90FE;
  --brand-400: #6958FE;
  --brand-500: #3720FD;
  --brand-600: #1c02fd;
  --brand-700: #1602CA;
  --brand-800: #1201A2;
  --brand-900: #110675;
  --brand-950: #0B0449;
  --brand: #1c02fd;
  --brand-ink: #ffffff;
}

Colors that work with #1c02fd

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#C4C0ED
Hairlines and dividers
Muted text#534B9B
Captions on the surface
Accent#CCAE00
Second voice, not a rival
Dark variant#0E017E
Hover, pressed, headers
Light variant#E8E6FF
Selected rows, tints
Dark surface#151424
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 #1c02fd

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#E3FD02
Analogous left#0266FD
Analogous right#9902FD
Split-complement 1#FD9902
Split-complement 2#66FD02
Triadic 1#FD1C02
Triadic 2#02FD1C
Tetradic#FD0266

RGB percentages

Red11.0%
Green0.8%
Blue99.2%

CMYK percentages

Cyan88.9%
Magenta99.2%
Yellow0.0%
Key (black)0.8%

Color previews

#1c02fd text on a black background

contrast 2.48:1

Card sample

#1c02fd text on a white background

contrast 8.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1c02fd;
Background color
Panel with #1c02fd background
background-color: #1c02fd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #1c02fd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(28, 2, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(28, 2, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1c02fd;
background: linear-gradient(135deg, #1c02fd, #C302FD);

Monochromatic scale

Palettes built from #1c02fd

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.

#1c02fd 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.

#1c02fd, answered

What color is #1c02fd?

#1c02fd is a balanced electric blue — the CSS keyword Blue. It sits at 246° on the hue wheel with 98% saturation and 50% lightness, which reads as cool.

What is the RGB value of #1c02fd?

rgb(28, 2, 253) — 28 red, 2 green and 253 blue out of 255, or 11% / 0.8% / 99.2% by channel.

Is #1c02fd a light or a dark color?

It is a dark color. Relative luminance is 0.0738 and perceived brightness is 34%, so white text on it reaches 8.48:1.

Should I use black or white text on #1c02fd?

White. It scores 8.48:1 against #1c02fd, versus 2.48:1 for black — AAA at any size.

What is the complementary color of #1c02fd?

#E3FD02 sits directly opposite on the wheel. Softer options are the split-complements #FD9902 and #66FD02, which give the same contrast with far less vibration.

What colors go well with #1c02fd?

For interface work: #F5F4FA as the surface, #C4C0ED for borders, #534B9B for secondary text, #CCAE00 as an accent and #0E017E for hover and pressed states. For a palette, the analogous pair #0266FD and #9902FD stays calm, while #E3FD02 is the loudest partner.

What is #1c02fd in CMYK for printing?

cmyk(89%, 99%, 0%, 1%). 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 #1c02fd warm or cool?

Cool — it scores 80 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7802FD; nudged cooler, #0028FF.

Work with #1c02fd in the Color Lab