Skip to content

#175c84

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

RGB
23, 92, 132
HSL
202°, 70%, 30%
CMYK
83, 30, 0, 48
Luminance
0.0950

At a glance

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

Hex
#175c84
Hue
202°
blue
Saturation
70%
vivid
Lightness
30%
dark
Brightness
52%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0950
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
7.24:1
Closest name
Royal Blue
ΔE2000 13.9
Where it sits
Hue202° of 360°
Saturation70%
Lightness30%
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#175c84
RGBrgb(23, 92, 132)
HSLhsl(202, 70%, 30%)
CMYKcmyk(83%, 30%, 0%, 48%)
LABlab(36.9 -5.9 -28.2)
LCHlch(36.9 28.9 258.1)
OKLCHoklch(0.453 0.092 239.8)
Decimal1531012
Display P3color(display-p3 0.090 0.361 0.518)

Copy-ready code

/* CSS */
color: #175c84;
background-color: #175c84;
/* Tailwind (arbitrary) */
class="text-[#175c84] bg-[#175c84]"
/* SCSS */
$brand: #175c84;
/* SwiftUI */
Color(red: 0.090, green: 0.361, blue: 0.518)
/* Android */
Color.parseColor("#175c84")
/* Flutter */
Color(0xFF175C84)
/* Python / OpenCV (BGR) */
(132, 92, 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 #175c84 · 7.24:1
Use #ffffffAAA at every size.
Aa
White text · 7.24:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.90:1
AA fail · AA large fail · AAA fail
Reading the other direction: #175c84 as text scores 7.24:1 on white and 2.90:1 on black.

Accessibility — WCAG contrast

Aa
#175c84 on white: 7.24:1
AA ✓ pass · AA-large · AAA
Aa
#175c84 on black: 2.90:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #495C86
deuteranopia · #3A5283
tritanopia · #00666A

Color scale — 50 to 950

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

#F3F8FC
#E7F2F8
#C9E3F2
#9FD1EE
#70BBE6
#40A4DE
#2491D0
#1E79AE
#175c84
#164865
#0E2D3F
Base = 800Lightest = 50 · #F3F8FCDarkest = 950 · #0E2D3F
:root {
  --brand-50: #F3F8FC;
  --brand-100: #E7F2F8;
  --brand-200: #C9E3F2;
  --brand-300: #9FD1EE;
  --brand-400: #70BBE6;
  --brand-500: #40A4DE;
  --brand-600: #2491D0;
  --brand-700: #1E79AE;
  --brand-800: #175c84;
  --brand-900: #164865;
  --brand-950: #0E2D3F;
  --brand: #175c84;
  --brand-ink: #ffffff;
}

Colors that work with #175c84

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#F4F8FA
Tinted page background
Border#C0DCED
Hairlines and dividers
Muted text#4B7D9B
Captions on the surface
Accent#872114
Second voice, not a rival
Dark variant#134C6D
Hover, pressed, headers
Light variant#E9F5FB
Selected rows, tints
Dark surface#141E24
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 #175c84

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#843F17
Analogous left#178475
Analogous right#172684
Split-complement 1#841726
Split-complement 2#847517
Triadic 1#84175C
Triadic 2#5C8417
Tetradic#751784

RGB percentages

Red9.0%
Green36.1%
Blue51.8%

CMYK percentages

Cyan82.6%
Magenta30.3%
Yellow0.0%
Key (black)48.2%

Color previews

#175c84 text on a black background

contrast 2.90:1

Card sample

#175c84 text on a white background

contrast 7.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(23, 92, 132, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 92, 132, 0.45);
Border & gradient
Gradient panel
border: 3px solid #175c84;
background: linear-gradient(135deg, #175c84, #1B1784);

Monochromatic scale

Palettes built from #175c84

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.

#175c84 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

Converts to four-color process without much drama. Proof it anyway.

#175c84, answered

What color is #175c84?

#175c84 is a dark vivid blue, closest to Royal Blue (ΔE2000 13.9). It sits at 202° on the hue wheel with 70% saturation and 30% lightness, which reads as cool.

What is the RGB value of #175c84?

rgb(23, 92, 132) — 23 red, 92 green and 132 blue out of 255, or 9% / 36.1% / 51.8% by channel.

Is #175c84 a light or a dark color?

It is a dark color. Relative luminance is 0.0950 and perceived brightness is 33%, so white text on it reaches 7.24:1.

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

White. It scores 7.24:1 against #175c84, versus 2.90:1 for black — AAA at any size.

What is the complementary color of #175c84?

#843F17 sits directly opposite on the wheel. Softer options are the split-complements #841726 and #847517, which give the same contrast with far less vibration.

What colors go well with #175c84?

For interface work: #F4F8FA as the surface, #C0DCED for borders, #4B7D9B for secondary text, #872114 as an accent and #134C6D for hover and pressed states. For a palette, the analogous pair #178475 and #172684 stays calm, while #843F17 is the loudest partner.

What is #175c84 in CMYK for printing?

cmyk(83%, 30%, 0%, 48%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #175c84 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 #178484; nudged cooler, #155186.

Work with #175c84 in the Color Lab