Skip to content

#175fa3

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

RGB
23, 95, 163
HSL
209°, 75%, 37%
CMYK
86, 42, 0, 36
Luminance
0.1101

At a glance

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

Hex
#175fa3
Hue
209°
blue
Saturation
75%
electric
Lightness
37%
dark
Brightness
64%
HSV value
Perceived
36%
weighted brightness
Luminance
0.1101
WCAG relative
Temperature
Cool
100/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.56:1
Closest name
Royal Blue
ΔE2000 10.4
Where it sits
Hue209° of 360°
Saturation75%
Lightness37%
Temperature
Warm ← → Cool100% 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#175fa3
RGBrgb(23, 95, 163)
HSLhsl(209, 75%, 37%)
CMYKcmyk(86%, 42%, 0%, 36%)
LABlab(39.6 4.4 -42.7)
LCHlch(39.6 42.9 275.9)
OKLCHoklch(0.480 0.129 251.7)
Decimal1531811
Display P3color(display-p3 0.090 0.373 0.639)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#175fa3 on white: 6.56:1
AA ✓ pass · AA-large · AAA
Aa
#175fa3 on black: 3.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3D64A6
deuteranopia · #2558A2
tritanopia · #006F79

Color scale — 50 to 950

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

#F3F7FC
#E7F0F9
#C8DFF4
#9DC8F1
#6BADEA
#3A91E3
#1E7DD7
#175fa3
#14538F
#133E68
#0C2741
Base = 700Lightest = 50 · #F3F7FCDarkest = 950 · #0C2741
:root {
  --brand-50: #F3F7FC;
  --brand-100: #E7F0F9;
  --brand-200: #C8DFF4;
  --brand-300: #9DC8F1;
  --brand-400: #6BADEA;
  --brand-500: #3A91E3;
  --brand-600: #1E7DD7;
  --brand-700: #175fa3;
  --brand-800: #14538F;
  --brand-900: #133E68;
  --brand-950: #0C2741;
  --brand: #175fa3;
  --brand-ink: #ffffff;
}

Colors that work with #175fa3

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#C0D7ED
Hairlines and dividers
Muted text#4B749B
Captions on the surface
Accent#A73613
Second voice, not a rival
Dark variant#104170
Hover, pressed, headers
Light variant#E9F3FC
Selected rows, tints
Dark surface#141C24
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 #175fa3

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#A35B17
Analogous left#17A3A1
Analogous right#1719A3
Split-complement 1#A31719
Split-complement 2#A3A117
Triadic 1#A3175F
Triadic 2#5FA317
Tetradic#A117A3

RGB percentages

Red9.0%
Green37.3%
Blue63.9%

CMYK percentages

Cyan85.9%
Magenta41.7%
Yellow0.0%
Key (black)36.1%

Color previews

#175fa3 text on a black background

contrast 3.20:1

Card sample

#175fa3 text on a white background

contrast 6.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(23, 95, 163, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 95, 163, 0.45);
Border & gradient
Gradient panel
border: 3px solid #175fa3;
background: linear-gradient(135deg, #175fa3, #2C17A3);

Monochromatic scale

Palettes built from #175fa3

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.

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

#175fa3, answered

What color is #175fa3?

#175fa3 is a dark electric blue, closest to Royal Blue (ΔE2000 10.4). It sits at 209° on the hue wheel with 75% saturation and 37% lightness, which reads as cool.

What is the RGB value of #175fa3?

rgb(23, 95, 163) — 23 red, 95 green and 163 blue out of 255, or 9% / 37.3% / 63.9% by channel.

Is #175fa3 a light or a dark color?

It is a dark color. Relative luminance is 0.1101 and perceived brightness is 36%, so white text on it reaches 6.56:1.

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

White. It scores 6.56:1 against #175fa3, versus 3.20:1 for black — AA at any size.

What is the complementary color of #175fa3?

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

What colors go well with #175fa3?

For interface work: #F4F7FA as the surface, #C0D7ED for borders, #4B749B for secondary text, #A73613 as an accent and #104170 for hover and pressed states. For a palette, the analogous pair #17A3A1 and #1719A3 stays calm, while #A35B17 is the loudest partner.

What is #175fa3 in CMYK for printing?

cmyk(86%, 42%, 0%, 36%). 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 #175fa3 warm or cool?

Cool — it scores 100 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #172CA3; nudged cooler, #124F8E.

Work with #175fa3 in the Color Lab