Skip to content

#175e9b

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

RGB
23, 94, 155
HSL
208°, 74%, 35%
CMYK
85, 39, 0, 39
Luminance
0.1055

At a glance

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

Hex
#175e9b
Hue
208°
blue
Saturation
74%
vivid
Lightness
35%
dark
Brightness
61%
HSV value
Perceived
35%
weighted brightness
Luminance
0.1055
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
6.75:1
Closest name
Royal Blue
ΔE2000 11.3
Where it sits
Hue208° of 360°
Saturation74%
Lightness35%
Temperature
Warm ← → Cool99% 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#175e9b
RGBrgb(23, 94, 155)
HSLhsl(208, 74%, 35%)
CMYKcmyk(85%, 39%, 0%, 39%)
LABlab(38.8 1.9 -39.1)
LCHlch(38.8 39.2 272.7)
OKLCHoklch(0.472 0.119 249.6)
Decimal1531547
Display P3color(display-p3 0.090 0.369 0.608)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#175e9b on white: 6.75:1
AA ✓ pass · AA-large · AAA
Aa
#175e9b on black: 3.11:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #40629D
deuteranopia · #2C569A
tritanopia · #006D75

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #175e9b 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
#E7F0F9
#C8E0F3
#9DCAF1
#6CB0E9
#3C95E2
#2081D5
#1A6CB2
#175e9b
#134067
#0C2840
Base = 800Lightest = 50 · #F3F8FCDarkest = 950 · #0C2840
:root {
  --brand-50: #F3F8FC;
  --brand-100: #E7F0F9;
  --brand-200: #C8E0F3;
  --brand-300: #9DCAF1;
  --brand-400: #6CB0E9;
  --brand-500: #3C95E2;
  --brand-600: #2081D5;
  --brand-700: #1A6CB2;
  --brand-800: #175e9b;
  --brand-900: #134067;
  --brand-950: #0C2840;
  --brand: #175e9b;
  --brand-ink: #ffffff;
}

Colors that work with #175e9b

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#C0D8ED
Hairlines and dividers
Muted text#4B769B
Captions on the surface
Accent#9F3113
Second voice, not a rival
Dark variant#10436F
Hover, pressed, headers
Light variant#E9F3FC
Selected rows, tints
Dark surface#141D24
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 #175e9b

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#9B5417
Analogous left#179B96
Analogous right#171C9B
Split-complement 1#9B171C
Split-complement 2#9B9617
Triadic 1#9B175E
Triadic 2#5E9B17
Tetradic#96179B

RGB percentages

Red9.0%
Green36.9%
Blue60.8%

CMYK percentages

Cyan85.2%
Magenta39.4%
Yellow0.0%
Key (black)39.2%

Color previews

#175e9b text on a black background

contrast 3.11:1

Card sample

#175e9b text on a white background

contrast 6.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(23, 94, 155, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 94, 155, 0.45);
Border & gradient
Gradient panel
border: 3px solid #175e9b;
background: linear-gradient(135deg, #175e9b, #28179B);

Monochromatic scale

Palettes built from #175e9b

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.

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

#175e9b, answered

What color is #175e9b?

#175e9b is a dark vivid blue, closest to Royal Blue (ΔE2000 11.3). It sits at 208° on the hue wheel with 74% saturation and 35% lightness, which reads as cool.

What is the RGB value of #175e9b?

rgb(23, 94, 155) — 23 red, 94 green and 155 blue out of 255, or 9% / 36.9% / 60.8% by channel.

Is #175e9b a light or a dark color?

It is a dark color. Relative luminance is 0.1055 and perceived brightness is 35%, so white text on it reaches 6.75:1.

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

White. It scores 6.75:1 against #175e9b, versus 3.11:1 for black — AA at any size.

What is the complementary color of #175e9b?

#9B5417 sits directly opposite on the wheel. Softer options are the split-complements #9B171C and #9B9617, which give the same contrast with far less vibration.

What colors go well with #175e9b?

For interface work: #F4F8FA as the surface, #C0D8ED for borders, #4B769B for secondary text, #9F3113 as an accent and #10436F for hover and pressed states. For a palette, the analogous pair #179B96 and #171C9B stays calm, while #9B5417 is the loudest partner.

What is #175e9b in CMYK for printing?

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

Is #175e9b warm or cool?

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

Work with #175e9b in the Color Lab