Skip to content

#175dfd

a balanced, electric blue · cool · closest name: Royal Blue

RGB
23, 93, 253
HSL
222°, 98%, 54%
CMYK
91, 63, 0, 1
Luminance
0.1510

At a glance

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

Hex
#175dfd
Hue
222°
blue
Saturation
98%
electric
Lightness
54%
balanced
Brightness
99%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1510
WCAG relative
Temperature
Cool
93/100 cool
Color family
Blue
Tone
Electric
Best ink
White
5.22:1
Closest name
Royal Blue
ΔE2000 4.7
Where it sits
Hue222° of 360°
Saturation98%
Lightness54%
Temperature
Warm ← → Cool93% 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#175dfd
RGBrgb(23, 93, 253)
HSLhsl(222, 98%, 54%)
CMYKcmyk(91%, 63%, 0%, 1%)
LABlab(45.8 40.7 -84.4)
LCHlch(45.8 93.7 295.7)
OKLCHoklch(0.548 0.246 263.1)
Decimal1531389
Display P3color(display-p3 0.090 0.365 0.992)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#175dfd on white: 5.22:1
AA ✓ pass · AA-large · AAA
Aa
#175dfd on black: 4.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0077FF
deuteranopia · #0062FA
tritanopia · #0088A5

Color scale — 50 to 950

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

#F1F5FD
#E3EBFC
#C1D2FB
#90B1FE
#588BFE
#175dfd
#024BF3
#023FCA
#0132A2
#062875
#041949
Base = 500Lightest = 50 · #F1F5FDDarkest = 950 · #041949
:root {
  --brand-50: #F1F5FD;
  --brand-100: #E3EBFC;
  --brand-200: #C1D2FB;
  --brand-300: #90B1FE;
  --brand-400: #588BFE;
  --brand-500: #175dfd;
  --brand-600: #024BF3;
  --brand-700: #023FCA;
  --brand-800: #0132A2;
  --brand-900: #062875;
  --brand-950: #041949;
  --brand: #175dfd;
  --brand-ink: #ffffff;
}

Colors that work with #175dfd

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#F4F6FA
Tinted page background
Border#C0CDED
Hairlines and dividers
Muted text#4B639B
Captions on the surface
Accent#CC5B00
Second voice, not a rival
Dark variant#01277E
Hover, pressed, headers
Light variant#E6EDFF
Selected rows, tints
Dark surface#141924
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 #175dfd

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
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#FDB717
Analogous left#17D0FD
Analogous right#4417FD
Split-complement 1#FD4417
Split-complement 2#D0FD17
Triadic 1#FD175D
Triadic 2#5DFD17
Tetradic#FD17D0

RGB percentages

Red9.0%
Green36.5%
Blue99.2%

CMYK percentages

Cyan90.9%
Magenta63.2%
Yellow0.0%
Key (black)0.8%

Color previews

#175dfd text on a black background

contrast 4.02:1

Card sample

#175dfd text on a white background

contrast 5.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(23, 93, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 93, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #175dfd;
background: linear-gradient(135deg, #175dfd, #6A17FD);

Monochromatic scale

Palettes built from #175dfd

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.

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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#175dfd, answered

What color is #175dfd?

#175dfd is a balanced electric blue, closest to Royal Blue (ΔE2000 4.7). It sits at 222° on the hue wheel with 98% saturation and 54% lightness, which reads as cool.

What is the RGB value of #175dfd?

rgb(23, 93, 253) — 23 red, 93 green and 253 blue out of 255, or 9% / 36.5% / 99.2% by channel.

Is #175dfd a light or a dark color?

It is a dark color. Relative luminance is 0.1510 and perceived brightness is 44%, so white text on it reaches 5.22:1.

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

White. It scores 5.22:1 against #175dfd, versus 4.02:1 for black — AA at any size.

What is the complementary color of #175dfd?

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

What colors go well with #175dfd?

For interface work: #F4F6FA as the surface, #C0CDED for borders, #4B639B for secondary text, #CC5B00 as an accent and #01277E for hover and pressed states. For a palette, the analogous pair #17D0FD and #4417FD stays calm, while #FDB717 is the loudest partner.

What is #175dfd in CMYK for printing?

cmyk(91%, 63%, 0%, 1%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #175dfd warm or cool?

Cool — it scores 93 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2517FD; nudged cooler, #005FFA.

Work with #175dfd in the Color Lab