Skip to content

#175997

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

RGB
23, 89, 151
HSL
209°, 74%, 34%
CMYK
85, 41, 0, 41
Luminance
0.0956

At a glance

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

Hex
#175997
Hue
209°
blue
Saturation
74%
vivid
Lightness
34%
dark
Brightness
59%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0956
WCAG relative
Temperature
Cool
100/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
7.21:1
Closest name
Royal Blue
ΔE2000 12.1
Where it sits
Hue209° of 360°
Saturation74%
Lightness34%
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#175997
RGBrgb(23, 89, 151)
HSLhsl(209, 74%, 34%)
CMYKcmyk(85%, 41%, 0%, 41%)
LABlab(37.0 3.5 -39.6)
LCHlch(37.0 39.7 275.0)
OKLCHoklch(0.458 0.119 251.3)
Decimal1530263
Display P3color(display-p3 0.090 0.349 0.592)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#175997 on white: 7.21:1
AA ✓ pass · AA-large · AAA
Aa
#175997 on black: 2.91:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3B5D99
deuteranopia · #255296
tritanopia · #006870

Color scale — 50 to 950

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

#F3F7FC
#E7F0F8
#C8DEF3
#9EC8F0
#6DADE9
#3C91E1
#207DD4
#1B68B1
#175997
#143E67
#0C2740
Base = 800Lightest = 50 · #F3F7FCDarkest = 950 · #0C2740
:root {
  --brand-50: #F3F7FC;
  --brand-100: #E7F0F8;
  --brand-200: #C8DEF3;
  --brand-300: #9EC8F0;
  --brand-400: #6DADE9;
  --brand-500: #3C91E1;
  --brand-600: #207DD4;
  --brand-700: #1B68B1;
  --brand-800: #175997;
  --brand-900: #143E67;
  --brand-950: #0C2740;
  --brand: #175997;
  --brand-ink: #ffffff;
}

Colors that work with #175997

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#9A3313
Second voice, not a rival
Dark variant#11416F
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 #175997

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#975517
Analogous left#179795
Analogous right#171997
Split-complement 1#971719
Split-complement 2#979517
Triadic 1#971759
Triadic 2#599717
Tetradic#951797

RGB percentages

Red9.0%
Green34.9%
Blue59.2%

CMYK percentages

Cyan84.8%
Magenta41.1%
Yellow0.0%
Key (black)40.8%

Color previews

#175997 text on a black background

contrast 2.91:1

Card sample

#175997 text on a white background

contrast 7.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(23, 89, 151, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 89, 151, 0.45);
Border & gradient
Gradient panel
border: 3px solid #175997;
background: linear-gradient(135deg, #175997, #2A1797);

Monochromatic scale

Palettes built from #175997

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.

#175997 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.

#175997, answered

What color is #175997?

#175997 is a dark vivid blue, closest to Royal Blue (ΔE2000 12.1). It sits at 209° on the hue wheel with 74% saturation and 34% lightness, which reads as cool.

What is the RGB value of #175997?

rgb(23, 89, 151) — 23 red, 89 green and 151 blue out of 255, or 9% / 34.9% / 59.2% by channel.

Is #175997 a light or a dark color?

It is a dark color. Relative luminance is 0.0956 and perceived brightness is 34%, so white text on it reaches 7.21:1.

Should I use black or white text on #175997?

White. It scores 7.21:1 against #175997, versus 2.91:1 for black — AAA at any size.

What is the complementary color of #175997?

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

What colors go well with #175997?

For interface work: #F4F7FA as the surface, #C0D7ED for borders, #4B749B for secondary text, #9A3313 as an accent and #11416F for hover and pressed states. For a palette, the analogous pair #179795 and #171997 stays calm, while #975517 is the loudest partner.

What is #175997 in CMYK for printing?

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

Is #175997 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 #172A97; nudged cooler, #124982.

Work with #175997 in the Color Lab