Skip to content

#1c0175

a deep, electric blue · cool · closest name: Navy

RGB
28, 1, 117
HSL
254°, 98%, 23%
CMYK
76, 99, 0, 54
Luminance
0.0155

At a glance

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

Hex
#1c0175
Hue
254°
blue
Saturation
98%
electric
Lightness
23%
deep
Brightness
46%
HSV value
Perceived
17%
weighted brightness
Luminance
0.0155
WCAG relative
Temperature
Cool
76/100 cool
Color family
Blue
Tone
Electric
Best ink
White
16.02:1
Closest name
Navy
ΔE2000 2.2
Where it sits
Hue254° of 360°
Saturation98%
Lightness23%
Temperature
Warm ← → Cool76% 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#1c0175
RGBrgb(28, 1, 117)
HSLhsl(254, 98%, 23%)
CMYKcmyk(76%, 99%, 0%, 54%)
LABlab(12.9 44.7 -57.6)
LCHlch(12.9 73.0 307.8)
OKLCHoklch(0.271 0.167 276.1)
Decimal1835381
Display P3color(display-p3 0.110 0.004 0.459)

Copy-ready code

/* CSS */
color: #1c0175;
background-color: #1c0175;
/* Tailwind (arbitrary) */
class="text-[#1c0175] bg-[#1c0175]"
/* SCSS */
$brand: #1c0175;
/* SwiftUI */
Color(red: 0.110, green: 0.004, blue: 0.459)
/* Android */
Color.parseColor("#1c0175")
/* Flutter */
Color(0xFF1C0175)
/* Python / OpenCV (BGR) */
(117, 1, 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 #1c0175 · 16.02:1
Use #ffffffAAA at every size.
Aa
White text · 16.02:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.31:1
AA fail · AA large fail · AAA fail
Reading the other direction: #1c0175 as text scores 16.02:1 on white and 1.31:1 on black.

Accessibility — WCAG contrast

Aa
#1c0175 on white: 16.02:1
AA ✓ pass · AA-large · AAA
Aa
#1c0175 on black: 1.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #002678
deuteranopia · #001C73
tritanopia · #002C42

Color scale — 50 to 950

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

#F4F1FD
#E9E3FC
#CEC1FB
#A990FE
#7F58FE
#5421FD
#3A02F3
#3102CA
#2701A2
#1c0175
#140449
Base = 900Lightest = 50 · #F4F1FDDarkest = 950 · #140449
:root {
  --brand-50: #F4F1FD;
  --brand-100: #E9E3FC;
  --brand-200: #CEC1FB;
  --brand-300: #A990FE;
  --brand-400: #7F58FE;
  --brand-500: #5421FD;
  --brand-600: #3A02F3;
  --brand-700: #3102CA;
  --brand-800: #2701A2;
  --brand-900: #1c0175;
  --brand-950: #140449;
  --brand: #1c0175;
  --brand-ink: #ffffff;
}

Colors that work with #1c0175

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#5D4B9B
Captions on the surface
Accent#767400
Second voice, not a rival
Dark variant#1E017E
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 #1c0175

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#5A7501
Analogous left#012075
Analogous right#560175
Split-complement 1#755601
Split-complement 2#207501
Triadic 1#751C01
Triadic 2#01751C
Tetradic#750120

RGB percentages

Red11.0%
Green0.4%
Blue45.9%

CMYK percentages

Cyan76.1%
Magenta99.1%
Yellow0.0%
Key (black)54.1%

Color previews

#1c0175 text on a black background

contrast 1.31:1

Card sample

#1c0175 text on a white background

contrast 16.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1c0175

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.

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

#1c0175, answered

What color is #1c0175?

#1c0175 is a deep electric blue, closest to Navy (ΔE2000 2.2). It sits at 254° on the hue wheel with 98% saturation and 23% lightness, which reads as cool.

What is the RGB value of #1c0175?

rgb(28, 1, 117) — 28 red, 1 green and 117 blue out of 255, or 11% / 0.4% / 45.9% by channel.

Is #1c0175 a light or a dark color?

It is a dark color. Relative luminance is 0.0155 and perceived brightness is 17%, so white text on it reaches 16.02:1.

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

White. It scores 16.02:1 against #1c0175, versus 1.31:1 for black — AAA at any size.

What is the complementary color of #1c0175?

#5A7501 sits directly opposite on the wheel. Softer options are the split-complements #755601 and #207501, which give the same contrast with far less vibration.

What colors go well with #1c0175?

For interface work: #F6F4FA as the surface, #CAC0ED for borders, #5D4B9B for secondary text, #767400 as an accent and #1E017E for hover and pressed states. For a palette, the analogous pair #012075 and #560175 stays calm, while #5A7501 is the loudest partner.

What is #1c0175 in CMYK for printing?

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

Cool — it scores 76 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #460175; nudged cooler, #001076.

Work with #1c0175 in the Color Lab