Skip to content

#17539d

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

RGB
23, 83, 157
HSL
213°, 74%, 35%
CMYK
85, 47, 0, 38
Luminance
0.0880

At a glance

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

Hex
#17539d
Hue
213°
blue
Saturation
74%
vivid
Lightness
35%
dark
Brightness
62%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0880
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
7.61:1
Closest name
Royal Blue
ΔE2000 12.1
Where it sits
Hue213° of 360°
Saturation74%
Lightness35%
Temperature
Warm ← → Cool98% 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#17539d
RGBrgb(23, 83, 157)
HSLhsl(213, 74%, 35%)
CMYKcmyk(85%, 47%, 0%, 38%)
LABlab(35.6 9.9 -45.5)
LCHlch(35.6 46.6 282.2)
OKLCHoklch(0.448 0.135 256.2)
Decimal1528733
Display P3color(display-p3 0.090 0.325 0.616)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#17539d on white: 7.61:1
AA ✓ pass · AA-large · AAA
Aa
#17539d on black: 2.76:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2A5AA0
deuteranopia · #024E9C
tritanopia · #006570

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #17539d 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
#E7EFF9
#C8DCF4
#9DC3F1
#6CA4E9
#3B86E2
#1F71D5
#1A5EB2
#17539d
#133967
#0C2440
Base = 800Lightest = 50 · #F3F7FCDarkest = 950 · #0C2440
:root {
  --brand-50: #F3F7FC;
  --brand-100: #E7EFF9;
  --brand-200: #C8DCF4;
  --brand-300: #9DC3F1;
  --brand-400: #6CA4E9;
  --brand-500: #3B86E2;
  --brand-600: #1F71D5;
  --brand-700: #1A5EB2;
  --brand-800: #17539d;
  --brand-900: #133967;
  --brand-950: #0C2440;
  --brand: #17539d;
  --brand-ink: #ffffff;
}

Colors that work with #17539d

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#C0D4ED
Hairlines and dividers
Muted text#4B6F9B
Captions on the surface
Accent#A13E13
Second voice, not a rival
Dark variant#103B6F
Hover, pressed, headers
Light variant#E9F1FC
Selected rows, tints
Dark surface#141B24
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 #17539d

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#9D6117
Analogous left#17969D
Analogous right#1E179D
Split-complement 1#9D1E17
Split-complement 2#969D17
Triadic 1#9D1753
Triadic 2#539D17
Tetradic#9D1796

RGB percentages

Red9.0%
Green32.5%
Blue61.6%

CMYK percentages

Cyan85.4%
Magenta47.1%
Yellow0.0%
Key (black)38.4%

Color previews

#17539d text on a black background

contrast 2.76:1

Card sample

#17539d text on a white background

contrast 7.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(23, 83, 157, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 83, 157, 0.45);
Border & gradient
Gradient panel
border: 3px solid #17539d;
background: linear-gradient(135deg, #17539d, #34179D);

Monochromatic scale

Palettes built from #17539d

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.

#17539d 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.

#17539d, answered

What color is #17539d?

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

What is the RGB value of #17539d?

rgb(23, 83, 157) — 23 red, 83 green and 157 blue out of 255, or 9% / 32.5% / 61.6% by channel.

Is #17539d a light or a dark color?

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

Should I use black or white text on #17539d?

White. It scores 7.61:1 against #17539d, versus 2.76:1 for black — AAA at any size.

What is the complementary color of #17539d?

#9D6117 sits directly opposite on the wheel. Softer options are the split-complements #9D1E17 and #969D17, which give the same contrast with far less vibration.

What colors go well with #17539d?

For interface work: #F4F7FA as the surface, #C0D4ED for borders, #4B6F9B for secondary text, #A13E13 as an accent and #103B6F for hover and pressed states. For a palette, the analogous pair #17969D and #1E179D stays calm, while #9D6117 is the loudest partner.

What is #17539d in CMYK for printing?

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

Is #17539d warm or cool?

Cool — it scores 98 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #17229D; nudged cooler, #124988.

Work with #17539d in the Color Lab