Skip to content

#175ac6

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

RGB
23, 90, 198
HSL
217°, 79%, 43%
CMYK
88, 55, 0, 22
Luminance
0.1157

At a glance

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

Hex
#175ac6
Hue
217°
blue
Saturation
79%
electric
Lightness
43%
dark
Brightness
78%
HSV value
Perceived
38%
weighted brightness
Luminance
0.1157
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.34:1
Closest name
Royal Blue
ΔE2000 7
Where it sits
Hue217° of 360°
Saturation79%
Lightness43%
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#175ac6
RGBrgb(23, 90, 198)
HSLhsl(217, 79%, 43%)
CMYKcmyk(88%, 55%, 0%, 22%)
LABlab(40.5 21.7 -61.7)
LCHlch(40.5 65.4 289.3)
OKLCHoklch(0.495 0.181 260.1)
Decimal1530566
Display P3color(display-p3 0.090 0.353 0.776)

Copy-ready code

/* CSS */
color: #175ac6;
background-color: #175ac6;
/* Tailwind (arbitrary) */
class="text-[#175ac6] bg-[#175ac6]"
/* SCSS */
$brand: #175ac6;
/* SwiftUI */
Color(red: 0.090, green: 0.353, blue: 0.776)
/* Android */
Color.parseColor("#175ac6")
/* Flutter */
Color(0xFF175AC6)
/* Python / OpenCV (BGR) */
(198, 90, 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 #175ac6 · 6.34:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.34:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.31:1
AA fail · AA large pass · AAA fail
Reading the other direction: #175ac6 as text scores 6.34:1 on white and 3.31:1 on black.

Accessibility — WCAG contrast

Aa
#175ac6 on white: 6.34:1
AA ✓ pass · AA-large · AAA
Aa
#175ac6 on black: 3.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0068CA
deuteranopia · #0058C4
tritanopia · #007587

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #175ac6 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
#E6EDF9
#C7D8F5
#9ABDF3
#689BED
#367AE8
#1964DB
#175ac6
#114392
#11336A
#0A2042
Base = 700Lightest = 50 · #F3F6FCDarkest = 950 · #0A2042
:root {
  --brand-50: #F3F6FC;
  --brand-100: #E6EDF9;
  --brand-200: #C7D8F5;
  --brand-300: #9ABDF3;
  --brand-400: #689BED;
  --brand-500: #367AE8;
  --brand-600: #1964DB;
  --brand-700: #175ac6;
  --brand-800: #114392;
  --brand-900: #11336A;
  --brand-950: #0A2042;
  --brand: #175ac6;
  --brand-ink: #ffffff;
}

Colors that work with #175ac6

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#4B699B
Captions on the surface
Accent#CA5613
Second voice, not a rival
Dark variant#0D3472
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 #175ac6

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#C68317
Analogous left#17B1C6
Analogous right#2B17C6
Split-complement 1#C62B17
Split-complement 2#B1C617
Triadic 1#C6175A
Triadic 2#5AC617
Tetradic#C617B1

RGB percentages

Red9.0%
Green35.3%
Blue77.6%

CMYK percentages

Cyan88.4%
Magenta54.5%
Yellow0.0%
Key (black)22.4%

Color previews

#175ac6 text on a black background

contrast 3.31:1

Card sample

#175ac6 text on a white background

contrast 6.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(23, 90, 198, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 90, 198, 0.45);
Border & gradient
Gradient panel
border: 3px solid #175ac6;
background: linear-gradient(135deg, #175ac6, #4917C6);

Monochromatic scale

Palettes built from #175ac6

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.

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

#175ac6, answered

What color is #175ac6?

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

What is the RGB value of #175ac6?

rgb(23, 90, 198) — 23 red, 90 green and 198 blue out of 255, or 9% / 35.3% / 77.6% by channel.

Is #175ac6 a light or a dark color?

It is a dark color. Relative luminance is 0.1157 and perceived brightness is 38%, so white text on it reaches 6.34:1.

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

White. It scores 6.34:1 against #175ac6, versus 3.31:1 for black — AA at any size.

What is the complementary color of #175ac6?

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

What colors go well with #175ac6?

For interface work: #F4F7FA as the surface, #C0D1ED for borders, #4B699B for secondary text, #CA5613 as an accent and #0D3472 for hover and pressed states. For a palette, the analogous pair #17B1C6 and #2B17C6 stays calm, while #C68317 is the loudest partner.

What is #175ac6 in CMYK for printing?

cmyk(88%, 55%, 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 #175ac6 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 #171AC6; nudged cooler, #1257B1.

Work with #175ac6 in the Color Lab