Skip to content

#17549f

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

RGB
23, 84, 159
HSL
213°, 75%, 36%
CMYK
86, 47, 0, 38
Luminance
0.0903

At a glance

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

Hex
#17549f
Hue
213°
blue
Saturation
75%
vivid
Lightness
36%
dark
Brightness
62%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0903
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
7.49:1
Closest name
Royal Blue
ΔE2000 11.8
Where it sits
Hue213° of 360°
Saturation75%
Lightness36%
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#17549f
RGBrgb(23, 84, 159)
HSLhsl(213, 75%, 36%)
CMYKcmyk(86%, 47%, 0%, 38%)
LABlab(36.0 10.0 -46.0)
LCHlch(36.0 47.1 282.3)
OKLCHoklch(0.451 0.136 256.2)
Decimal1528991
Display P3color(display-p3 0.090 0.329 0.624)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#17549f on white: 7.49:1
AA ✓ pass · AA-large · AAA
Aa
#17549f on black: 2.81:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2A5BA2
deuteranopia · #014F9E
tritanopia · #006672

Color scale — 50 to 950

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

Colors that work with #17549f

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#A33F13
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 #17549f

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#9F6217
Analogous left#17989F
Analogous right#1E179F
Split-complement 1#9F1E17
Split-complement 2#989F17
Triadic 1#9F1754
Triadic 2#549F17
Tetradic#9F1798

RGB percentages

Red9.0%
Green32.9%
Blue62.4%

CMYK percentages

Cyan85.5%
Magenta47.2%
Yellow0.0%
Key (black)37.6%

Color previews

#17549f text on a black background

contrast 2.81:1

Card sample

#17549f text on a white background

contrast 7.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(23, 84, 159, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 84, 159, 0.45);
Border & gradient
Gradient panel
border: 3px solid #17549f;
background: linear-gradient(135deg, #17549f, #35179F);

Monochromatic scale

Palettes built from #17549f

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.

#17549f 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.

#17549f, answered

What color is #17549f?

#17549f is a dark vivid blue, closest to Royal Blue (ΔE2000 11.8). It sits at 213° on the hue wheel with 75% saturation and 36% lightness, which reads as cool.

What is the RGB value of #17549f?

rgb(23, 84, 159) — 23 red, 84 green and 159 blue out of 255, or 9% / 32.9% / 62.4% by channel.

Is #17549f a light or a dark color?

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

Should I use black or white text on #17549f?

White. It scores 7.49:1 against #17549f, versus 2.81:1 for black — AAA at any size.

What is the complementary color of #17549f?

#9F6217 sits directly opposite on the wheel. Softer options are the split-complements #9F1E17 and #989F17, which give the same contrast with far less vibration.

What colors go well with #17549f?

For interface work: #F4F7FA as the surface, #C0D4ED for borders, #4B6F9B for secondary text, #A33F13 as an accent and #103B6F for hover and pressed states. For a palette, the analogous pair #17989F and #1E179F stays calm, while #9F6217 is the loudest partner.

What is #17549f in CMYK for printing?

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

Is #17549f 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 #17229F; nudged cooler, #124A8A.

Work with #17549f in the Color Lab