Skip to content

#175dc8

a dark, electric blue · cool · closest name: Royal Blue

RGB
23, 93, 200
HSL
216°, 79%, 44%
CMYK
89, 54, 0, 22
Luminance
0.1218

At a glance

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

Hex
#175dc8
Hue
216°
blue
Saturation
79%
electric
Lightness
44%
dark
Brightness
78%
HSV value
Perceived
39%
weighted brightness
Luminance
0.1218
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.11:1
Closest name
Royal Blue
ΔE2000 6.4
Where it sits
Hue216° of 360°
Saturation79%
Lightness44%
Temperature
Warm ← → Cool97% 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#175dc8
RGBrgb(23, 93, 200)
HSLhsl(216, 79%, 44%)
CMYKcmyk(89%, 54%, 0%, 22%)
LABlab(41.5 20.5 -61.3)
LCHlch(41.5 64.6 288.5)
OKLCHoklch(0.502 0.180 259.6)
Decimal1531336
Display P3color(display-p3 0.090 0.365 0.784)

Copy-ready code

/* CSS */
color: #175dc8;
background-color: #175dc8;
/* Tailwind (arbitrary) */
class="text-[#175dc8] bg-[#175dc8]"
/* SCSS */
$brand: #175dc8;
/* SwiftUI */
Color(red: 0.090, green: 0.365, blue: 0.784)
/* Android */
Color.parseColor("#175dc8")
/* Flutter */
Color(0xFF175DC8)
/* Python / OpenCV (BGR) */
(200, 93, 23)

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 #175dc8 · 6.11:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.11:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.44:1
AA fail · AA large pass · AAA fail
Reading the other direction: #175dc8 as text scores 6.11:1 on white and 3.44:1 on black.

Accessibility — WCAG contrast

Aa
#175dc8 on white: 6.11:1
AA ✓ pass · AA-large · AAA
Aa
#175dc8 on black: 3.44:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006ACC
deuteranopia · #005AC6
tritanopia · #007889

Color scale — 50 to 950

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

#F3F6FC
#E6EEF9
#C7D9F5
#9ABEF3
#689DEE
#367CE8
#1966DC
#175dc8
#114492
#10346A
#0A2042
Base = 700Lightest = 50 · #F3F6FCDarkest = 950 · #0A2042
:root {
  --brand-50: #F3F6FC;
  --brand-100: #E6EEF9;
  --brand-200: #C7D9F5;
  --brand-300: #9ABEF3;
  --brand-400: #689DEE;
  --brand-500: #367CE8;
  --brand-600: #1966DC;
  --brand-700: #175dc8;
  --brand-800: #114492;
  --brand-900: #10346A;
  --brand-950: #0A2042;
  --brand: #175dc8;
  --brand-ink: #ffffff;
}

Colors that work with #175dc8

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#F4F7FA
Tinted page background
Border#C0D1ED
Hairlines and dividers
Muted text#4B6A9B
Captions on the surface
Accent#CC5412
Second voice, not a rival
Dark variant#0D3572
Hover, pressed, headers
Light variant#E8F0FC
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 #175dc8

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
  • 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#C88217
Analogous left#17B5C8
Analogous right#2A17C8
Split-complement 1#C82A17
Split-complement 2#B5C817
Triadic 1#C8175D
Triadic 2#5DC817
Tetradic#C817B5

RGB percentages

Red9.0%
Green36.5%
Blue78.4%

CMYK percentages

Cyan88.5%
Magenta53.5%
Yellow0.0%
Key (black)21.6%

Color previews

#175dc8 text on a black background

contrast 3.44:1

Card sample

#175dc8 text on a white background

contrast 6.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #175dc8;
Background color
Panel with #175dc8 background
background-color: #175dc8;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #175dc8;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(23, 93, 200, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 93, 200, 0.45);
Border & gradient
Gradient panel
border: 3px solid #175dc8;
background: linear-gradient(135deg, #175dc8, #4717C8);

Monochromatic scale

Palettes built from #175dc8

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.

#175dc8 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.

#175dc8, answered

What color is #175dc8?

#175dc8 is a dark electric blue, closest to Royal Blue (ΔE2000 6.4). It sits at 216° on the hue wheel with 79% saturation and 44% lightness, which reads as cool.

What is the RGB value of #175dc8?

rgb(23, 93, 200) — 23 red, 93 green and 200 blue out of 255, or 9% / 36.5% / 78.4% by channel.

Is #175dc8 a light or a dark color?

It is a dark color. Relative luminance is 0.1218 and perceived brightness is 39%, so white text on it reaches 6.11:1.

Should I use black or white text on #175dc8?

White. It scores 6.11:1 against #175dc8, versus 3.44:1 for black — AA at any size.

What is the complementary color of #175dc8?

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

What colors go well with #175dc8?

For interface work: #F4F7FA as the surface, #C0D1ED for borders, #4B6A9B for secondary text, #CC5412 as an accent and #0D3572 for hover and pressed states. For a palette, the analogous pair #17B5C8 and #2A17C8 stays calm, while #C88217 is the loudest partner.

What is #175dc8 in CMYK for printing?

cmyk(89%, 54%, 0%, 22%). 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 #175dc8 warm or cool?

Cool — it scores 97 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #171CC8; nudged cooler, #1258B3.

Work with #175dc8 in the Color Lab